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
Name the namespace that is used to access WCF service?
do you know message contracts? : Wcf data services
What is wcf full form?
What are the transport schemes supported by wcf? Give example of address for each scheme.
WCF:What is it the Net.TCP Port Sharing? How can we use it?
What is purpose of IsWrapped property in Message Contract in WCF?
What is the use of sessionmode?
What are the mep in wcf?
Plz any one send the sharepoint interview question @ mossdev123@gmail.com
What is .net 3.0?
what is wcf peer network binding type? : Wcf data services
What is the difference between web service and wcf service?
What is the usage of datacontracts in wcf?
Define service contracts?
What is datacontract?