Skip to content

NetFrameworkTemplates/angular-spa-netfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-spa-netfx

ASP.NET Angular 8 project generated with Angular CLI.

Browse source code, view live demo angular-spa.web-templates.io and install with dotnet-new:

$ dotnet tool install --global x

$ x new angular-spa-netfx ProjectName

Dev Workflow

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.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run 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

Run 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

Run tests-run Gulp task to execute the unit tests via Karma.

Running end-to-end tests

Run tests-e2e Gulp task to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

.NET Framework Angular 7 Bootstrap cli.angular.io App

Resources

Stars

Watchers

Forks

Packages

No packages published