This is a starter template for developing Angular2 with ASP.NET Core WebAPI Applications.
This template is done with npm. Its an Angular2 application with an http-service getting values from an ASP.NET CORE WebAPI.
Angular 2 and ASP.NET Core Starter
Start by typing
npm install
at the level of the "package.json" file
Now you can just press "play" inside Visual Studio to get started.
If you change the *.ts-files you need to run the tsc
command manually.
npm start
will run the gulp task for you, starting the lite-server and the tsc-watcher. You have to start the ASP.NET server manually by typing dotnet run
separately.
See this nice link which the Angular team did by working with Visual Studio and Angular 2 Visual Studio 2015 QuickStart