Introduction to WCF.

What is WCF ?
WCF stands for Windows Communication Foundation. Main use of WCF is to develop distributed system. WCF main feature is inter-operability.


What are Advantages of using WCF ?
1. Interoperability
2. Scalability
3. Enhance security and reliability compare to ASMX (Web services)

WCF services has following elements

Message - This is the object which get exchanged in every communication. WCF services supports message in various formats like XML, JSON, Plain Text.

Endpoint - Endpoint generally describe where to communicate.Endpoint is an address in format like http://<localhost>/myservice, net.tcp://<localhost>/mynewservice

Hosting - WCF supports multiple hosting. Self hosting, Windows Hosting, WAS (Windows Activation Service) Hosting. We will see more about WCF hosting in upcoming blogs.




Comments

Popular posts from this blog

CAML Query in SharePoint 2010

Calling REST APi from server side code - C#

All about SharePoint 2010 Content Type Hub

SharePoint Interview Questions and Answers

Calling ASP.Net WebMethod using jQuery AJAX