Hi,
I need some clarification on MVC web api.
1. use of MVC web Api
2. how to implement MVC web Api
3. diff b/w normal MVC and MVC web Api
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek KumarRank #510 · 4.8K reputationPosted Nov 14, 2014, 12:29 AM EST
Please try to follow below articles for your questions.
http://www.dotnet-tricks.com/Tutorial/webapi/VG9K040413-What-is-Web-API-and-why-to-use-it-?.html
http://www.dotnet-tricks.com/Tutorial/webapi/Y95G050413-Difference-between-ASP.NET-MVC-and-ASP.NET-Web-API.html
Let me know if you find any difficulty in understanding.
Hope this will help.
Abhishek
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 14, 2014, 1:01 AM EST
Ans:
1. ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices.
2. You can implement MVC Web API by creating MVC Web API project from Visual Studio.
http://www.c-sharpcorner.com/UploadFile/4b0136/implement-Asp-Net-web-api-2-in-Asp-Net-mvc-5/
http://www.asp.net/aspnet/samples/aspnet-web-api
http://www.codeproject.com/Articles/344078/ASP-NET-WebAPI-Getting-Started-with-MVC-and-WebAP
3. MVC & Web API are almost same with few differences. MVC controllers returns VIEWs whereas Web API returns HttpResponse. More info here