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

 1 Answer(s)
  1992  View(s)
Rate this:

Kamlakar Singh
Kamlakar Singh

Total Post:80

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