Differentiate between datacontractserializr and xmlserializer?
Answer / 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 |
What is msmq binding?
What is wcf wpf wwf in net?
Which are the 3 types of transactions manager wcf supports?
What is the use of sessionmode?
List some of the different ways of hosting?
What does a windows communication foundation, or wcf, service application use to present exception information to clients by default?
Explain abcs of endpoint?
What is the difference between web service and wcf service?
Which bindings are used for metadata configuration in wcf?
What is the request-reply mode in wcf?
How many Instance modes is supported by WCF?
WCF:Is there an error in the Msmq address the "net.msmq://MyHost/private$/MyQueue"?