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)
- 
    0Hi, CLI will generate a proxy script with the module name appby 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
- 
    0Unfortunately, there is currently no way to ignore it. you may need to delete it manually 
- 
    0then we need to do that every time, right? 
- 
    0Yes, it will be a bit troublesome I suggest you move the method to a new API controller and use different module name 
- 
    0
- 
    0
- 
    0So also we can not use IFormFile, is that right? 
- 
    0Hi, yes, You should use IRemoteStreamContent
- 
    0then How can we call this API with POSTMAN? 
- 
    0







 
                                