Using Angular 11 inside ASP.NET MVC 5 with Angular CLI using Visual Studio 2017/ 2019. Look for branch mvc5angular11
- Clone or Fork the this repo
- Run npm install to download all node modules. This is a mandatory step, needs NodeJs installed
- Run the ng build --watch command from root folder to run Angular application
- F5 or run from Visual Studio IDE to load both MVC & Angular. Navigate to Contacts to see in action
Refer the blog post for detail write up Using Angular 11 in ASP.NET MVC 5 with Angular CLI and Visual Studio 2017
Checkout adding Angular Component, Service, Class to ASP.NET MVC 5