ASP.NET Core Web API and Angular 2 Http Demo
Demonstration of using ASP.NET Core Web API features with Angular 2
Running the Application
Navigate to the
srcfolder in a command window
npm installto install Angular 2 dependencies
npm run tsc:wto compile Angular 2 TypeScript code to ES5 and watch for changes
Open the .sln file at the root of the project in Visual Studio.
Note: VS can install npm dependencies but I prefer to do it as a separate step.