[Windows Communication Foundation]
What is WCF Service?
Use and implentation of WCF service with ASP .Net 4.0
Difference between WCF and Web Service
WCF examples for multiple binding
Types of contracts in WCF Service
Advantage and disadvantage of WCF Service
WCF is a programming platform and runtime system for building, configuring and deploying network-distributed services. It is the latest service oriented technology; Interoperability is the fundamental characteristics of WCF. It is unified programming model provided in .Net Framework 3.0. WCF is a combined feature of Web Service, Remoting, MSMQ and COM+. WCF provides a common platform for all .NET communication.
The endpoints specify a Contract that defines which methods of the Service class will be accessible via the endpoint; each endpoint may expose a different set of methods.
Data contract describes the custom data type which is exposed to the client. This defines the data types, which are passed to and from service. Data types like int, string are identified by the client because it is already mention in XML schema definition language document, but custom created class or data types cannot be identified by the client e.g. Employee data type. By using DataContract we can make client to be aware of Employee data type that are returning or passing parameter to the method.
Delete [OperationContract] attribute:
When we delete [OperationContract] attribute we get an exception
“Contract OR Binding mismatch between the sender and receiver”