Posts

Showing posts from February, 2017

WCF over Web API

Few folks asking me – When to use Web API over WCF. Many technical blogs have given uses of both WCF and Web API and their primary differences. It’s not so difficult to decide on right technology for service until unless we have clear picture/vision on the consuming clients/applications and their dependency factors.  I will try to post my comments on when to use which technology. Post me your suggestions/comments on the same. When we decided to have a service layer in our application(s) for sure there would be depending factors on the service(s). If the application designed under service oriented architecture, then we may go for WCF as it is a development platform for SOA. We can keep WCF features aside for a while, it provides multiple transport protocols. It’s time to think what sort of protocols client would use to consume the service. If INTRA-net application consumes the service, then we can deliver TCP end-point. If another client wants to have it thru HTTP, we can al