InterviewSolution
Saved Bookmarks
| 1. |
When to prefer ASP.NET Web API over WCF? |
|
Answer» It completely depends upon the requirement. Choose ASP.NET WEB API if you want HTTP based services only, as Web API is a lightweight architecture and is good for the devices which have limited bandwidth. We can ALSO create the REST services with WCF, but that requires a lot of CONFIGURATION. In case you want a service that should support multiple transport protocols like HTTP, UDP, TCP, ETC. then WCF will be the better option. |
|