cleanshave
cleanshave copied to clipboard
ASP.NET Core (RC1) and Angular 2 SPA Template
CleanShave
An Angular 2 application with ASP.NET 5

Getting Started
The application is built on rc1 of ASP.NET 5, refer to http://docs.asp.net to install.
-
Fork and clone the site
-
Run
npm install -
Run
dnu restoreto restore the .NET dependencies -
Open Terminal window and execute
npm start. This command runs thegulp buildtask, then starts nodemon fordnx web. Thenodemonprocess will watch for any changes to the C# code and/or JavaScript files (transpiled fromtsc) and restart then kestrel server. -
Open http://localhost:5000
Using Visual Studio 2015
To open in VS you need to open using the git connector.
Then open the project.json file. Be sure to have the ASPNET 5 file/project type selected.
a Before Build step to have the gulp tasks run and build/compile the typescript and angular 2 project portions if you are just going to F5.
*** note that there is bug in the VS tooling for restoring the @reactivex/rxjs npm package use the command line tool and npm install to get the npm packages restored