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 the transport and message reliability?
Give an example of knowtype.
What is the main advantage of was?
Explain what is datacontract and servicecontract?
What are the core components of wcf service?
Differentiate between datacontractserializr and xmlserializer?
What are different elements of wcf services client configuration file?
what is msmq binding? : Wcf data services
tell me what is proxy and how to generate proxy for wcf services? : Wcf data services
What is wcf api?
Explain about contracts?
What are the types of contract available in wcf?