Question

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.

Was it helpful?

Solution 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).

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top