Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Asp.Net Webapi + MVC + Entity Framework + Angular CLI

NotificationsYou must be signed in to change notification settings

FuningTeng/aspnet-webapi-mvc-angular-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a seed project utilizing Asp.Net Web API, Entity Framework, ASP.Net MVC together with Angular CLI

Prerequisites

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.

Table of Contents

Installation

BEFORE YOU INSTALL: please read theprerequisites

Reinstall nuget package in Package Manager Console

Update-Package -reinstall

Install node modules inwebapp folder

npm install

Usage

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

Generating Components, Directives, Pipes and Services

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.

Documentation

The documentation for the Angular CLI is located in this repo'swiki.

License

MIT

About

Asp.Net Webapi + MVC + Entity Framework + Angular CLI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp