Keeping templates on server - Angular 2+ SPA with ASP.Net WebAPI

by Emil Gurbanov   Last Updated May 23, 2018 10:05 AM

We are planning to build a SPA in Angular 2+, which will use ASP.NET as a back-end. Since Angular doesn't really have a good integration to ASP.NET, we decided to create the SPA as a standalone application, which will be communicating with the WebAPI.

The first popped up question although is, how to keep the HTML templates on server? We could achieve this working with ExpressJS before, but could not find any information on how to do so in ASP.NET.

Could anyone suggest a good way to go?

Please let me know if additional information is required.



Related Questions





MEAN stack vs ASP.NET

Updated March 30, 2017 19:05 PM