Home > DeveloperSection > Interviews > What is the use of web API ? Why Web API needed, If you have already RESTful services using WCF ?

Posted on    October-10-2014 11:24 PM

 ASP.NET MVC ASP.Net  ASP.NET MVC 
Ratings:
 1 Answer(s)
  1075  View(s)
Rate this:

Kamlakar Singh
Kamlakar Singh

Total Post:80

Points:400
Posted on    October-10-2014 11:24 PM

Yes, we can still develop the RESTful services with WCF, but there are two main reasons that prompt users to use Web API instead of RESTful services.

§  ASP.NET Web API is included in ASP.NET MVC which obviously increases TDD (Test Data Driven) approach in the development of RESTful services.

§  For developing RESTful services in WCF you still needs lot of config settings, URI templates, contract’s & endpoints which developing RESTful services using web API is simple.


Don't want to miss updates? Please click the below button!

Follow MindStick