In this article we learn what is binding and how we can implement binding in wcf. Before reading this article, I highly recommend reading my previous parts: • KnownType Attribute in WCF: Part 6 • MessageContract in WCF: Part 7… Continue Reading →
In this article we learn how we can implement centralize exception handling in wcf using IerrorHandler interface.
In this article we learn what is exception handling and how we can implement in wcf.
The wcf service generally accept and returns the base type. If you expect the service to accept and return inherited type then we use knowntype attribute. In other words by default you cannot use subclass of data contract class instead of its base class. We need to tell explicitly to wcf about the subclass using the knowntype attribute.
A datacontract is formal agreement between a client and service that abstractly describe the data to be exchanged.
By default WSDL does not support operational overloading, But we can achieve this by using Name property of OperationContract.
In this article we learn how to make changes to wcf service without breaking client or in other word what is name property in service contract in wcf.
Every service has a unique address and this unique address has three attribute that is Address, Binding and Contract. In other word we can say endpoint is a combination of address, binding and contract.