Skip to content

Using Angular 2 in ASP.NET MVC 5 & Visual Studio 2015

Notifications You must be signed in to change notification settings

Andrey-Ostapenko/ng2Mvc5Demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng2Mvc5Demo

Using Angular 2 in ASP.NET MVC 5 & Visual Studio 2015

How to run?

  • Ensure latest NODEJS and TypeScript is installed.
  • Clone repo or fork it.
  • Open command prompt containing package.json
  • run "npm install" this will install all Angular 2 packages
  • run "typings install".
  • Open solution in Visual Studio 2015
  • Open "Task Runner Explorer", then right click on "default" task and run. This will create libs folder, transpiles TypeScript files to JavaScript.
  • Ensure everything works fine and run app to see Angular 2 running on ASP.NET MVC 5.

Angular Material is optional but I wanted to use it, so included.

Read through more on here http://www.mithunvp.com/using-angular-2-asp-net-mvc-5-visual-studio/

Visit www.mithunvp.com for more interesting articles

About

Using Angular 2 in ASP.NET MVC 5 & Visual Studio 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.1%
  • C# 24.7%
  • HTML 16.4%
  • TypeScript 1.9%
  • CSS 1.6%
  • Classic ASP 0.3%