Demonstration of using ASP.NET Core Web API features with Angular 2
-
Install Node.js
-
Navigate to the
src
folder in a command window -
Run
npm install
to install Angular 2 dependencies -
Run
npm run tsc:w
to 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.