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 restore
to restore the .NET dependencies -
Open Terminal window and execute
npm start
. This command runs thegulp build
task, then starts nodemon fordnx web
. Thenodemon
process will watch for any changes to the C# code and/or JavaScript files (transpiled fromtsc
) and restart then kestrel server.
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