top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What are the advantages of using ASP.NET Web API?

+2 votes
62 views
What are the advantages of using ASP.NET Web API?
posted Aug 18, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

It supports convention-based CRUD Actions since it works with HTTP verbs GET,POST,PUT and DELETE.

Responses have an Accept header and HTTP status code.

Responses are formatted by Web API’s MediaTypeFormatter into JSON, XML or whatever format you want to add as a MediaTypeFormatter.

It may accepts and generates the content which may not be object oriented like images, PDF files etc.

It has automatic support for OData. Hence by placing the new [Queryable] attribute on a controller method that returns
IQueryable, clients can use the method for OData query composition.

It can be hosted with in the applicaion or on IIS.

It also supports the MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection that makes it more simple and robust.

answer Aug 25, 2015 by Manikandan J
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...