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

do you know message contracts? : Wcf data services

0 Answers  


What does wcf mean lions?

0 Answers  


List some of the different ways of hosting?

0 Answers  


What are the various address format in WCF?

0 Answers  


Explain the different ways to host wcf service?

0 Answers  


What tool client can use to generate the proxy of WCF?

0 Answers  


What is address in wcf?

0 Answers  


What are different bindings supported by wcf?

0 Answers  


How can you generate proxies using svcutil in wcf?

0 Answers  


How many Instance modes is supported by WCF?

0 Answers  


What is data contract equivalence?

0 Answers  


Name the namespace that is used to access WCF service?

0 Answers  


Categories