Skip to content

Angular 4 in ASP.NET Core with TypeScript solution(vs2015 or project.json)

License

Notifications You must be signed in to change notification settings

Longfld/ASPNETCoreAngular4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

ASPNETCoreAngular

#This is for project.json or VS 2015 version

Please check https://github.com/Longfld/ASPNETCoreAngular for VS2017 or csproj version

Angular 4 (& material) in ASP.NET Core with TypeScript by systemjs

If you are looking for angular 4 (+ material) by systemjs as frontend, asp.net core web api as backend, there is the solution.

How to use it?

After download, go to the folder that contain package.json. Firstly, check your dotnet version by run:

dotnet --version

As in global.json : "version": "1.0.0-preview2-003121"

Then you can:

npm install

dotnet restore

Now, we need to compile typescript, just need run this (and always run this after angular/typescript modify):

npm start

Finally start dotnet and browser http://localhost:5000

dotnet run

If you are using Visual Studio 2015, just open the project and run it, if you have problem, make sure you have latest version of VS2015 typescript installed by go here ( http://www.microsoft.com/en-us/download/details.aspx?id=48593 ), download and install typescript before try again.

About

Angular 4 in ASP.NET Core with TypeScript solution(vs2015 or project.json)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published