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
Tell me what is three major points in wcf? : Wcf data services
Give the address format of all the bindings in wcf.
Explain the wcf ria?
What is the windows communication foundation?
How to define a service as rest based service in wcf?
How can we create proxy for the wcf service?
What are the core security features that wcf addresses?
What is InstanceContextMode in WCF?
What is the main advantage of was?
How many Instance modes is supported by WCF?
what is wcf peer network binding type? : Wcf data services
What is the usage of "maxconcurrentcalls" in throttling?
What is the difference between wcf service and web service?
What is datacontract?
How we can achieve operation overloading while exposing wcf services?