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 |
do you know message contracts? : Wcf data services
What does wcf mean lions?
List some of the different ways of hosting?
What are the various address format in WCF?
Explain the different ways to host wcf service?
What tool client can use to generate the proxy of WCF?
What is address in wcf?
What are different bindings supported by wcf?
How can you generate proxies using svcutil in wcf?
How many Instance modes is supported by WCF?
What is data contract equivalence?
Name the namespace that is used to access WCF service?
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)