Using ASP.NET Web API has a number of advantages, but core of the advantages are:
- It works the HTTP way using standard HTTP verbs like
GET
,POST
,PUT
,DELETE
, etc. for all CRUD operations - Complete support for routing
- Response generated in JSON or XML format using
MediaTypeFormatter
- It has the ability to be hosted in IIS as well as self-host outside of IIS
- Supports Model binding and Validation
- Support for OData