Understanding the structure of SPAs with ASP.NET Core
With proper architecture, features can easily be developed, and we can reach an outstanding client's satisfaction. This approach is challenging because it requires solid architectural expertise and a proper hosting approach, but it always succeeds in delivering a decent solution.
In this section, we will get to know the structure of SPAs with ASP.NET Core. We will explore the project structure of the three top modern SPA technologies: Angular, React, and Vue.
Angular SPAs
Angular offers a full MVC pattern implementation. It is still one of the best JavaScript frameworks that is used to build SPAs. Today, with the latest version of Visual Studio, we can create a new ASP.NET web application with Angular enabled.
The project will be a combination of the Angular ClientApp
folder along with the web API that is usually included in the Controllers
folder, as shown in the following screenshot: