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

What are the mep in wcf?

0 Answers  


WCF:Is the MsmqIntegrationBinding used the msmq.formatname scheme or the net.msmq scheme?

1 Answers  


Why to use wcf? Or what are the advantages of using wcf?

0 Answers  


How would you enable the metadata information of the service?

0 Answers  


How do we customize data contract names for generics types?

0 Answers  


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

0 Answers  


WCF:Is the Reliable session asynchronous?

1 Answers  


Which are the different isolation levels in wcf?

0 Answers  


What is InstanceContextMode in WCF?

0 Answers  


What is the purpose of base address in wcf service? How it is specified?

0 Answers  


What is ConcurrencyMode in WCF?

0 Answers  


What is binding and how many types of bindings are there in wcf?

0 Answers  


Categories