I want to start learning Web API for that i need to set it up on my visual studio 2010.
In order to get started i looked at online tutorial regarding installation & configuration of web API on vs 2010 which some what confused me and decide ask expert advice on this.
I have couple of basic question regarding web API.
I am sure answers to these few question may help other user who want to start using web API on VS 2010.
Any help in this regarding is highly appreciated
Web API is in the ASP.NET MVC 4 project. You can install it in VS 2010:
http://robertbigec.wordpress.com/2012/10/11/developing-mvc-4-web-api-with-visual-studio-2010/
In Visual Studio 2010 to add a project of type ASP.NET MVC Web API we can:
1 - Have .NET Framework 4 & ASP.NET MVC 4 installed.
2 - Add a new project and select MVC 4
( on this screen there is no Web API template which is where many users may expect to see it )
3 - Select the Web API Template
This was a great question that helped me; I hope this answer helps too.
You have to downlaod and install SP1 for VS 2010 , then download the ASP.NET MVC 4 Project from Microsoft http://www.microsoft.com/en-ca/download/details.aspx?id=30683 and install it. I would rather download VS 2013 , it has the Web Api (also Web Api 2) as standard - no need to download anything else.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.