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

Is it possible to use multipe inheritance in .net

1 Answers  


Is dapper faster than entity framework?

0 Answers  


Difference between ASP.NET MVC and ASP.NET WebForms?

0 Answers  


what is entity graph in entity framework?

0 Answers   Microsoft,


What is the use .glimpse in mvc?

0 Answers  


What is the CLS

1 Answers  


When was the first version of .NET released

1 Answers  


Explain linq to entities? : Entity framework

0 Answers  


Can you use Razor code in Javascript in ASP.Net MVC?

0 Answers  


Where The Inheritence is useful?How we decide the situation of inheritence

2 Answers  


What is object service? : Entity framework

0 Answers  


What are sections?

0 Answers  


Categories