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 |
Explain the role of WSDL in WCF?
What are the attributes of Message Contract in WCF?
What are the different types of transaction managers supported by wcf?
What is the transport and message reliability?
Explain wcf contracts?
Can you explain how end points, contract, address and bindings are done in wcf?
How would you generate a proxy for wcf?
What is REST and what is the problem with WCF REST and how it can be resolved?
What are the different wcf binding available?
How do wcf works?
tell me what is service and client in perspective of data communication? : Wcf data services
What are the essential components used in wcf?