ABP Framework version: v4.3
UI type: MVC
DB provider: EF Core
How to disable the API controller of the default module?
I tried to comment part of the code
But no effect
what should I do?
8 Answer(s)
-
0
Do you want to
hide
them orremove/disable
them? -
0
Do you want to
hide
them orremove/disable
them?i want disable them
-
0
Disabling those controllers will break your project. None of the UI pages will work stable. Because javascript api calls won't work without these api's.
-
0
Disabling those controllers will break your project. None of the UI pages will work stable. Because javascript api calls won't work without these api's.
Acme.BookStore.Web
this is WEB projectI created another WEB API project
Acme.BookStore.WebAPII just want to open the book api controller on Acme.BookStore.WebAPI
-
0
Is
Acme.BookStore.WebAPI
dependent onAcme.BookStore.Web
? -
0
Is
Acme.BookStore.WebAPI
dependent onAcme.BookStore.Web
?like this
Same as Acme.BookStore.Web
But does not rely on Acme.BookStore.Web
-
0
You need to create new a
Application Layer
and aHttpApi Layer
as well. So, you can move Book Api related code to new projects and keep module-related api's in old projects. Then reference just new projects fromAcme.BookStore.WebApi
. -
0
You need to create new a
Application Layer
and aHttpApi Layer
as well. So, you can move Book Api related code to new projects and keep module-related api's in old projects. Then reference just new projects fromAcme.BookStore.WebApi
.I understand, thank you