DataContractSerializer
Is meant to be used for serialization/deserialization of class in WCF service to and from either JSON or XML.
serializes properties and fields.
Is faster than XmlSerializer
Doesn't control how xml is generated. Should not be used when full control on generated XML structure is required
XMLSerializer
XmlSerializer is only for XML serialization
Supports full control over...
DataContractSerializer vs XmlSerializer in WCF
Continue Reading →