Q .1 What is Web API?
WebAPI is a framework which helps you to build/develop HTTP services.
Q.2 Why is Web API required? Is it possible to use RESTful services using WCF?
Yes, we can still develop RESTful services with WCF. However, there are two main reasons that prompt users to use Web API instead of RESTful services.
- Web API increases TDD (Test Data Driven) approach in the development of RESTful services.
- If we want to develop RESTful services in WCF, you surely need a lot of config settings, URI templates, contracts & endpoints for developing RESTful services using web API.
Q. 3 Why select Web API?
No comments:
Post a Comment