Hello,
I am using ABP MVC template (ASP.NET 4.6) for admin side of my site and now want to use ASPNET Core(4.6) and Angular 4 for frontend.
Is it possible to use ABP project Libraries (APPLICATION,CORE,EF and WEBAPI) into this new frontend? Please provide info on how to initialize ABP into this new project and call Application services.
Thanks
1 Answer(s)
-
0
Hi,
For angular4, we used NSwagto generate proxy services, you can check our angular4 template here <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-core-template">https://github.com/aspnetboilerplate/mo ... e-template</a>.
You can also check NSwag here <a class="postlink" href="https://github.com/NSwag/NSwag">https://github.com/NSwag/NSwag</a>. You basically need to enable swagger using <a class="postlink" href="https://github.com/domaindrivendev/Swashbuckle">https://github.com/domaindrivendev/Swashbuckle</a> and then use it's generated json to generate angular4 proxies with NSwag.
Thanks.