문제

This question might be ridiculous. Sorry for that.

I have worked with ASP.NET MVC application. Now I would like to start with AngularJS and ASP.Net Web API 2 in my next web application.

In my previous MVC projects, I selected Empty with the MVC checkbox checked.

What project template should i choose to start with?

Thank you.

도움이 되었습니까?

해결책 2

Select

New project/Web/Asp.NET web application

Then select WEB API (you can change authentication from here)

Your project is created. Now open nugget packages manager and update to "Microsoft ASP.NET Web API x.x" (currently 2.2).

다른 팁

There is the AngularJS SPA Template available in MSDN.

It has already 18K downloads, used by many, and constantly updated (last update from two weeks ago).

To add WebAPI 2.0, just right-click on the project > Manage NuGet Packages > Find and reference Microsoft ASP.NET Web API 2.1 Web Host

Then activate it in Startup.cs

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top