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 service host factory in wcf?
Which bindings in wcf support the message streaming?
Where you use WSFederationHttpBinding in WCF?
Which are the various programming approaches for wcf?
WCF:Is there an error in the Msmq address the "net.msmq://MyHost/private$/MyQueue"?
what is windows card space?
What is mean by wcf?
How many Instance modes is supported by WCF?
Explain various address format used in WCF?
What is Fault Contract in WCF
2 Answers ABC, Student, Virtusa,
How to configure reliability while communicating with wcf services?
Which bindings are used for metadata configuration in wcf?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)