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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading in wcf?

820


Can we have two way communications in msmq?

889


What is wcf web service (ws) binding type?

818


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

982


What is a soa service?

950


Why do we use wcf services?

808


What is endpoint in wcf?

1019


Why wcf service is used?

870


Exp wcf peer network binding type?

819


What is abc in wcf?

876


How many types of bindings are in WCF?

962


What are the various ways of hosting a wcf service?

838


What is callback mode in wcf?

903


Describe the various endpoints in wcf?

935


What is .net 3.0?

850