Category Archives: WCF Data contracts

Windows Commuication Foundation(WCF) Data Contract serialization techniques

WCF 3.5 supports two types of serialization techniques. DataContractSerializer XmlSerializer DataContractSerializer Vs XMLSerializer In contrast to predecessor XmlSerializer, DataContractSerializer serializes only members declared explicitly using DataMember attribute. XmlSerializer serializes all members of data contract except for members declared explicitly using NotSerialized attribute. WCF Serialization Caveats: .Net Built-in collection types and custom collections implementing IEnumerable or… Read More »

WCF Data contracts

Before we understand Windows Communication Foundation (WCF) Data contracts, let’s first set the context of data representation and various forms of it. Dimensions of information exchange is changed drastically these days. Ok, when two parties communicate or exchange data electronically, how do they manage communication? They usually define common protocols, standards or agreements over data… Read More »