Total Hits - 39172
Total Votes - 27 votes
Vote Up - 10 votes
Vote Down - 17 votes
Domain - www.webdevelopmenthelp.net
Category - ASP.Net/ASP.Net Misc
Submitted By - Imran Ghani
Submitted on - 2014-05-12 01:27:08
I have seen this question more than once while going through different ASP.NET web forums that "Is it possible to use Web API with ASP.NET Web Forms Application?" Simple answer to the question is "YES, we can".
Let's discuss about it in more details. As we already know that Microsoft released ASP.NET MVC 4 with lots of new and exciting features including ASP.NET Web API which is basically a framework for building HTTP services that reaches broader range of clients including browsers as well as mobile devices. But it's flexible enough to be used with ASP.NET Web Forms applications. In this ASP.NET Tutorial, we are using a step by step approach for using Web API with ASP.NET Web Forms. For a good comparison of features released in each version of ASP.NET MVC, click here.
I have already implemented an HTTP service using ASP.NET Web API in one of my previous post that you can refer here. Adding a Model and a Controller is same but the difference is that we are adding it to ASP.NET Web Forms Application.
Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.http://www.webdevelopmenthelp.net/2014/05/using-web-api-with-web-forms.html