So I'm trying to justify my case of using ASP.Net Core with Angular in a new application, where the .NET application does little more that provide the basis for the Angular app. It's really similar to the case of having an ASP.NET MVC application with jQuery. There is also a Web Api involved.
So the two options being considered are:
- ASP.NET Core web app w/Angular for client side , along with a separate Web Api project, also done in ASP.NET Core
- Node.js project using just HTML w/Angular and the separate ASP.NET Core Web Api project
My preference for (1) is that is very likely we will need to execute some code on the server BEFORE any content is delivered back to the client. Even if that's not the case now, it very will likely be the case. The argument against this is that "the api can run code on the server".
So I suppose I need some examples of using ASP.NET hybrid type applications with angular AND there is actually something done in the ASP.NET application, other than simply serving up the Angular app.
I can almost see their point. Since after the initial delivery of the client app, there is little interaction with the ASP.NET code, all the user interaction is between the Angular client app and the Web Api. It would only be the case if the .NET web app actually had some server side routes defined for some controllers and/or razor pages that the .NET code within the web app would get involved.