What is difference between ASP.NET Web API and WCF?

 Posted by Rajkatie on 5/21/2014 | Category: ASP.NET Web API Interview questions | Views: 5079 | Points: 40
Answer:

1) WCF is unified programming model for building reliable/secure Service oriented application which is integrate across platforms and accessible over a variety of transports protocol (TCP,MSMQ,UDP etc).

2) WCF supports Request-Reply/One Way/Duplex message exchange patterns.

3) Supports WS-* standards like Reliable Messaging, Transactions, Message Security.
----------------------------------------------------------
1) ASP.Net Web API is a framework that makes it easy to build HTTP services that are accessible from a wide variety of clients(browser, mobile devices etc)

2)Web API is only supports request/response pattern.

3)No support for Reliable Messaging or Transactions.


| Alert Moderator 

Comments or Responses

Login to post response