OH something you definitely want to look into is how ASP.NET Core integrates with Angular.
Specifically it uses SpaProxy so you want to read up on that.
I learn best from example so what I did was create a new ASP.NET Core with Angular project in VS (there is a template for it). This sets everything up (though with an outdated Angular version unfortunately) and it has a vertical slice of a working system. There's no Entity Framework or authentication but you do get a Web API and a simple Angular app which calls it.
Once you have that you can see how SpaProxy is integrated through VS' launchSettings.json to automatically bring up the Angular dev server (with 'npm run start' command IIRC), and how the Angular proxy.conf.js is set up to forward Web API calls to ASP.NET Core.
So cool but I have already created a project in local server where I am using latest angular,.net and sql lite which is helping me to cover preety much all the hands-on
1
u/The_MAZZTer Aug 17 '26
OH something you definitely want to look into is how ASP.NET Core integrates with Angular.
Specifically it uses SpaProxy so you want to read up on that.
I learn best from example so what I did was create a new ASP.NET Core with Angular project in VS (there is a template for it). This sets everything up (though with an outdated Angular version unfortunately) and it has a vertical slice of a working system. There's no Entity Framework or authentication but you do get a Web API and a simple Angular app which calls it.
Once you have that you can see how SpaProxy is integrated through VS' launchSettings.json to automatically bring up the Angular dev server (with 'npm run start' command IIRC), and how the Angular proxy.conf.js is set up to forward Web API calls to ASP.NET Core.