s.k.paul
s.k.paul

Reputation: 7301

Appropirate VS2013 Project Template for AngularJS and Web API 2 Application

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.

Upvotes: 0

Views: 1541

Answers (2)

Eric Bole-Feysot
Eric Bole-Feysot

Reputation: 15147

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

Upvotes: 0

Ofiris
Ofiris

Reputation: 6151

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

Upvotes: 1

Related Questions