Datacontract Attributes Serialization
I'm review some data contract definitions and I find that the class is affixed with both the Serializable and DataContract attributes. Isn't this redundant? Or rather, Serializable is unnecessary. I wonder under what situations it might be? Guess it's time to dig deep into that A. Skonnard article on this topic.
-->C# Serialization Datacontract
The Windows Communication Foundation (WCF) infrastructure uses the DataContractSerializer class as the default serializer. Drake started from the bottom mp3. The topics in this section provide more details for using it as a stand-alone serializer.
In This Section
Serialization and Deserialization
Details how to use the DataContractSerializer class to serialize object graphs and deserialize XML documents into objects.
Schema Import and Export
Explains how to generate an XML Schema definition language (XSD) schema from a .NET Framework class, or how to generate code from an XSD schema document.