Differentiate between datacontractserializr and xmlserializer?
Answer Posted / sriyans sharma
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 the XML structure
Serializes only public properties
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the proxy for wcf service?
What are the different platforms where we can host wcf service ?
What is overloading in wcf?
What is the use of sessionmode?
What are different bindings supported by wcf?
What are the essential components used in wcf?
what is SOA?
explain wcf web service (ws) binding type? : Wcf data services
What is message contract in wcf?
What is the "contract" property of endpoint in wcf?
What are the types of contract available in wcf?
Which are the various programming approaches for wcf?
Define message contracts?
Plz any one send the sharepoint interview question @ mossdev123@gmail.com
Explain wcf tcp binding type?