Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8289637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:33:11+00:00 2026-06-08T12:33:11+00:00

In VS 2010 WEB FORMS project, I used nuget install-package Microsoft.aspnet.webapi. PM> install-package Microsoft.aspnet.webapi

  • 0

In VS 2010 WEB FORMS project, I used nuget “install-package Microsoft.aspnet.webapi”.

PM> install-package Microsoft.aspnet.webapi
Attempting to resolve dependency ‘Microsoft.AspNet.WebApi.WebHost (≥ 4.0.20505.0)’.
Attempting to resolve dependency ‘Microsoft.Web.Infrastructure (≥ 1.0.0.0)’.
Attempting to resolve dependency ‘Microsoft.AspNet.WebApi.Core (≥ 4.0.20505.0)’.
Attempting to resolve dependency ‘Microsoft.AspNet.WebApi.Client (≥ 4.0.20505.0)’.
Attempting to resolve dependency ‘Microsoft.Net.Http (≥ 2.0.20505.0)’.
Attempting to resolve dependency ‘Newtonsoft.Json (≥ 4.5.1)’.
‘Microsoft.AspNet.WebApi 4.0.20505.0’ installed.

However, when I go to “Add new item…”, under installed templates, “Web API Controller Class” is NOT available. What else do I need to install to make the template show up. I DO NOT have MVC4 installed, do I need it also before the template will show up?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:33:12+00:00Added an answer on June 8, 2026 at 12:33 pm

    Nuget gives you only the assemblies required to run Web API.

    To use MVC4 Web Api Visual Studio template you have to install MVC4 package from here – http://www.asp.net/web-api. Once that’s installed, in the “create new project” wizard you’d have to choose MVC4 template, and in the next window you can choose Web API project.

    Note, that this is not necessary if you don’t explicitly need an MVC4 applications. You can use Web API with pretty much anything – MVC3, with Web Forms, with console apps, WPF apps.. It’s not dependant in any way on MVC4.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

New to Microsoft Web Developer 2010 Express, and not an accomplished programmer, but I
With VS 2003 we were used to desing the web forms quite similarly to
I am working with VS 2010, Entity framework, SQl-Server 2005, ASP.Net web forms .
I have a custom Sharepoint 2010 web part that runs the user through a
I'm trying to consume a SharePoint 2010 web service via Visual Studio 2010. I
I'm trying to get the new ASP.NET Web API beta (VS 2010 default Web
using Visual.Web.Developer.2010.Express; using SQL.Server.Management.Studio.2008.R2; What I'm ultimately trying to do is update a sql
using Visual.Web.Developer.2010.Express; using SQL.Server.Management.Studio.2008.R2; Kinda new at C# here.. I got the first row
I am currently using MS Visual Web developer 2010 Express to build a website
I have created a Visual Studio 2010 ASP.NET Web Application. With it I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.