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

In which circumstances you used delegates?

5 Answers   HP,


Mention the core components of .net framework?

0 Answers  


What are the main components of .net framework?

0 Answers  


If we write return statement in finally block will it works fine or throws any error?

7 Answers   Kanbay,


What platforms does the .NET Framework run on?

1 Answers  


What is net framework 3.0 ?

0 Answers  


How to add 'ASPNET.mdf' file into server explorer in visual studio 2005?

2 Answers  


What is entity graph? : Entity framework

0 Answers  


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

0 Answers   NNN,


What are bundling & minification features in asp.net mvc 4?

0 Answers  


What is viewstart page in mvc?

0 Answers  


Have you designed any components?

2 Answers   HP,


Categories