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 the proxy for wcf service?

907


What are the different platforms where we can host wcf service ?

858


What is overloading in wcf?

791


What is the use of sessionmode?

902


What are different bindings supported by wcf?

779


What are the essential components used in wcf?

819


what is SOA?

1010


explain wcf web service (ws) binding type? : Wcf data services

739


What is message contract in wcf?

908


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

853


What are the types of contract available in wcf?

857


Which are the various programming approaches for wcf?

835


Define message contracts?

859


Plz any one send the sharepoint interview question @ mossdev123@gmail.com

2928


Explain wcf tcp binding type?

862