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 are the mep in wcf?
WCF:Is the MsmqIntegrationBinding used the msmq.formatname scheme or the net.msmq scheme?
Why to use wcf? Or what are the advantages of using wcf?
How would you enable the metadata information of the service?
How do we customize data contract names for generics types?
Is the msmqintegrationbinding used the msmq.formatname scheme or the net.msmq scheme?
WCF:Is the Reliable session asynchronous?
Which are the different isolation levels in wcf?
What is InstanceContextMode in WCF?
What is the purpose of base address in wcf service? How it is specified?
What is ConcurrencyMode in WCF?
What is binding and how many types of bindings are there 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)