- Notifications
You must be signed in to change notification settings - Fork5
FuningTeng/aspnet-webapi-mvc-angular-seed
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a seed project utilizing Asp.Net Web API, Entity Framework, ASP.Net MVC together with Angular CLI
The project have dependencies that require ASP.Net 4.5, Node 6.9.0 or higher, NPM 3 or higher, together withAngular CLI 1.1.2 or higher.
BEFORE YOU INSTALL: please read theprerequisites
Reinstall nuget package in Package Manager Console
Update-Package -reinstall
Install node modules inwebapp
folder
npm install
Test or developwebapp
project
ng serve -o
Build the Angular CLI and createdist
folder
ng build -prod
Copy files fromdist
folder tocontent
folder of web api project
gulp
You can use theng generate
(or justng g
) command to generate Angular components:
ng generate component my-new-componentng g component my-new-component# using the alias# components support relative path generation# if in the directory src/app/feature/ and you runng g component new-cmp# your component will be generated in src/app/feature/new-cmp# but if you were to runng g component ../newer-cmp# your component will be generated in src/app/newer-cmp# if in the directory src/app you can also runng g component feature/new-cmp# and your component will be generated in src/app/feature/new-cmp
You can find all possible blueprints inAngular CLI webstie.
The documentation for the Angular CLI is located in this repo'swiki.
MIT
About
Asp.Net Webapi + MVC + Entity Framework + Angular CLI
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.