WHAT IS THE USE OF WEB API ? WHY WEB API NEEDED, IF YOU HAVE ALREADY RESTFUL SERVICES USING WCF ?

Kamlakar Singh

Total Post:80

Points:400
Posted by  Kamlakar Singh
 2498  View(s)
Ratings:
Rate this:
  1. Kamlakar Singh

    Post:80

    Points:400
    What is the use of web API ? Why Web API needed, If you have already RESTful services using WCF ?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!