Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? : v11.2.1
- What is your product type (Angular or MVC)? : Angular
- What is product framework type (.net framework or .net core)? .net core
Currently the option we have with aspnetzero is to utilize the tools which internally uses nswag to generate the service proxy.
volosoft also, has abl cli. is there a way we can leverage abl cli to generate service proxy for angular app in aspnetzero ? Any suggestions you may provide on how can we do it? This is the abp cli documentation I am refering to: https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies#service-proxies
4 Answer(s)
-
0
Hi,
Actually, we haven't tried ABP CLI generated proxies with ASP.NET Zero. Could you share the problem you are having with NSWAG ?
-
0
Currently with nswag, it is a single proxy file, which is a known issue with nswag. With single large file, the devlopment work is time consuming if we need to troubleshoot, it is really a
and earlier we used abp commercial, which was way to easier and modular, especially the structure in which proxy /model files are generated. if you can evaluate and suggest any change that can help to utlize abp cli to generate proxy and use them, it can really be awesome.
-
0
@ismcagdas any thoughts /suggestions
-
0
Hi,
Unfortunately we couldn't find a solution for splitting the NSWAG generated proxies. Currently it is not possible to use ABP CLI with AspNet Zero but we will check it out and inform you if we can find a way to do it or not.