Setting up Asp.Net Core and Angular2 is actually very easy! There are several ways to setup a project.
Before we can start using the command line, we need to install the following:
npm install -g yo generator-aspnetcore-spaStep 2:
Run the generator using the
yo aspnetcore-spacommand and choose
Angular 2from the list of templates. Once the generator has completed, it will generate a complete app using asp.net core and angular2. You can get the app running using dotnet run.