Category Archives: WCF Serialization

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 »