ASP.NET Angular 5 project generated with Angular CLI version 1.5.0.
$ npm install -g @servicestack/cli $ dotnet-new angular-spa-netfx ProjectName
Run the ASP.NET Server App with
F5 and watch for changes and in a new terminal window run the
dev Gulp task in Task Runner Explorer to start a dev watch
aot build for compiling client assets.
ng generate component component-name to generate a new component. You can also use
ng generate directive|pipe|service|class|guard|interface|enum|module.
webpack-build Gulp task to build the project. The build artifacts will be stored in the
wwwroot/ directory. Use
npm run webpack-build-prod for a production build.
publish Gulp task to generate a client and server production build the project. Then Right click your Host project and click
Publish menu item
to use MS Deploy to deploy your App to IIS.
Running unit tests
tests-run Gulp task to execute the unit tests via Karma.
Running end-to-end tests
tests-e2e Gulp task to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use
ng help or go check out the Angular CLI README.