top button
Flag Notify
Site Registration

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

+3 votes
298 views
Is it true that ASP.NET Web API has replaced WCF?
posted Aug 18, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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 following scenarios:

If we intended to use transport other than HTTP e.g. TCP, UDP or Named Pipes.

Messag Queuing scenario using MSMQ.

One-way communication or Duplex communication

A good understanding for WCF(Windows Communication Foundation), please follow WCF Tutorial.

answer Aug 25, 2015 by Manikandan J
...