1.

Is it true that ASP.NET Web API has replaced WCF?

Answer»

It’s a misconception that ASP.NET Web API has replaced WCF. It’s another way of building non-SOAP based services, for example, PLAIN XML or JSON string etc. 

Yes, it has some ADDED advantages like utilizing full features of HTTP and reaching more clients such as mobile devices etc. 

But WCF is still a good choice for the following scenarios: 

  1. If we intended to use transport other than HTTP e.g. TCP, UDP or Named Pipes. 
  2. One-way communication or Duplex communication 
  3. Message Queuing scenario using MSMQ. 


Discussion

No Comment Found