Although both WCF REST and ASP.NET Web API follows the REST architecture but these have follow differences:
WCF REST
- Microsoft introduced “WebHttpBinding” to be used for creating WCF RESTful Services.
- HTTP Methods are mapped to attributes, for example, “WebGet” for GET method and “WebInvoke” for POST.
ASP.NET Web API
- As compared with WCF REST, Web API supports full features of HTTP.
- Its possible to host Web API in IIS as well as in an application.