| 1. |
What Is The Use Of Web Api ? Why Web Api Needed, If You Have Already Restful Services Using Wcf ? |
|
Answer» 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. 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. |
|