0
sandeep.step2gen@gmail.com created
- ABP Framework version: v7.3.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
How can we prevent an API/Controller/Service to not generate as service in Angular application when run abp generate-proxy -t ng
?
11 Answer(s)
-
0
Hi,
CLI will generate a proxy script with the module name
app
by default.You can use different module name for your API to avoid generating proxies:
[RemoteService(Name = "myapp")] [Area("myapp")] [Route("api/test")] public class TestController : AbpControllerBase, ITestAppService { .... }
-
0
-
0
Unfortunately, there is currently no way to ignore it. you may need to delete it manually
-
0
then we need to do that every time, right?
-
0
Yes, it will be a bit troublesome
I suggest you move the method to a new API controller and use different module name
-
0
-
0
-
0
So also we can not use IFormFile, is that right?
-
0
Hi,
yes, You should use
IRemoteStreamContent
-
0
then How can we call this API with POSTMAN?
-
0