WCF - Unified Programming Model

 WCF - Unified Programming Model

  • WCF is a collection of Web Service, .Net Remoting, MSMQ and COM+. 
  • Hence WCF acts as a Unified Programming Model for .NET communications.

WCF – unified programming model

Other Programming Models :

  • Web services have a world-wide support because of its cross-vendor interoperability. 
  • WCF has extend its properties over web services by the way of supporting various different protocols and message patterns as follows:

WCF Vs Web Services

  • .NET Remoting is the best communication methodology with high performance for applications that are purely based on.NET Framework.
  • .NET Remoting applications utilizes HTTP, TCP, and SMTP protocols. But WCF named pipes and MSMQ along with all these protocols.
  • Enterprise Services are valuable in managing object lifetimes and defining dispersed transactions. 
  • It is suitable for applications with more concentration on attribute based programming, but it has limited protocol support.
  • Web Services Enhancements (WSE) in combination with ASMX files provides advanced SOAP-based standards termed as the WS-* specifications. 
  • WSE (Web Services Enhancements) delegates better security for all applications that support its specifications.
  • System.Messaging is an interface of Microsoft Message Queuing (MSMQ)and it is used in communications with Windows-based partner applications. 
  • The tireless queuing provided by MSMQ is the reason for its widespread usage. 
  • WCF along with MSMQ delivers a secure and authentic message transportation system.

WCF – Uniting Technologies

  • The applications of WCF is based on HTTP-based communication is termed as Representational State Transfer (REST). 
  • WCF services usually runs with SOAP format but with REST API services the different architectures can be implemented to access WCF Services.