Tuesday, 11 June 2013

Comparison of WCF & ASP.NET Web API- VS 2012 - Sandeep Kanao

Comparison of WCF & ASP.NET Web API- VS 2012 - Sandeep Kanao

WCF

Back-end Services
SOAP, WS-*
Transports: HTTP, TCP, UDP, Queues, WebSockets, custom
Message patterns: request-reply, one-way, duplex
Use WCF Web HTTP to add HTTP endpoints to existing WCF services
Use WCF Data Services for full OData support


ASP.NET Web API

Front-end Services
Media Types: JSON, XML, form-URL-encoded, custom
HTTP only
Request-reply only
REST, resource-centric
Use SignalR for asynchronous signaling (polling, long-polling, WebSockets)