allencharp
allencharp

Reputation: 1161

How to launch Angular 2 server on ASP.NET MVC?

I am a newbie to Angular 2, and learning Angular 2 step by step follow the quickstart tutorial as this

I noticed that we need to start the server when using Angular 2 as so:

npm start

I am confused about that... why do we need to start the Angular 2 server? When we use ASP.NET MVC to handle the front-end request, how can we run npm start?

Upvotes: 1

Views: 369

Answers (1)

dev
dev

Reputation: 918

If i understand your question, you wanted to run Angular 2 with ASP.NET MVC. I believe you do not have to run npm start when you using ASP.NET MVC.

There is an article to how to run Angular 2 in visual Studio. http://www.mithunvp.com/using-angular-2-asp-net-mvc-5-visual-studio/.

Make sure you have install latest typescript and follow the above link.

Upvotes: 1

Related Questions