top button
Flag Notify
Site Registration

Can we use Web API with ASP.NET Web Form?

0 votes
390 views
Can we use Web API with ASP.NET Web Form?
posted Aug 25, 2015 by Latha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Yes, ASP.NET Web API is bundled with ASP.NET MVC framework but still it can be used with ASP.NET Web Form.
It can be done in three simple steps as follows:

  1. Create a Web API Controller. Add a routing table to
  2. Application_Start method of Global.asax. Make a jQuery AJAX Call to
  3. Web API method and get data.
answer Aug 25, 2015 by Shivaranjini
...