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...


Can I customise the serialization process



Can I customise the serialization process..

Answer / kirti

Yes. XmlSerializer supports a range of attributes that can be used to configure serialization for a particular class. For example, a field or property can be marked with the [XmlIgnore] attribute to exclude it from serialization. Another example is the [XmlElement]

attribute, which can be used to specify the XML element name to be used for a particular property or field.

Serialization via SoapFormatter/BinaryFormatter can also be controlled to some extent by attributes. For example, the [NonSerialized] attribute is the equivalent of XmlSerializer's [XmlIgnore] attribute. Ultimate control of the serialization process can be acheived by implementing the the ISerializable interface on the class whose instances are to be serialized.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What are the mobile devices supported by .net platform

1 Answers  


What is meant by domain model?

0 Answers  


What are authentication filters in web api?

0 Answers  


Can I look at the IL for an assembly

1 Answers  


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

0 Answers   Cap Gemini,


Define .NET architecture ?

3 Answers   TCS,


mention what is the key advantage of using entity framework or ef?

0 Answers   Microsoft,


Mention two instances where routing is not implemented or required?

0 Answers   Infosys,


What is difference between Viewbag and Viewdata in ASP.NET MVC?

0 Answers   NA,


What is Separation of Concerns in ASP.NET ASP.Net MVC?

0 Answers  


What are action filters?

0 Answers  


Can we have enum in entity framework?

0 Answers   Microsoft,


Categories