Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Differentiate between datacontractserializr and xmlserializer?



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

Post New Answer

More WCF Interview Questions

Explain different modes of security in wcf?

0 Answers  


what is windows card space?

0 Answers  


WCF:What types of the quota have the WCF transports?

1 Answers  


How many types of various programming approaches used for WCF?

0 Answers   Viscus Infotech,


What is service host factory in wcf?

0 Answers  


Is the msmqintegrationbinding used the msmq.formatname scheme or the net.msmq scheme?

0 Answers  


What are the types of messaging patterns?

0 Answers  


What are different isolation levels?

0 Answers  


explain service contracts? : Wcf data services

0 Answers  


What is duplex ws binding?

0 Answers  


WCF:When is the MsmqIntegrationBinding or the NetMsmqBinding used?

1 Answers   CMC,


What is the "binding" property of endpoint in wcf?

0 Answers  


Categories