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 |
what is the additional features in 1.1 rather than 1.0
What is partialview in asp.net mvc?
Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?
Name a few different return types of a controller action method?
What is edm (entity data model)? : Entity framework
I have interview in accenture.I cleared 1st round in techniqual.I have interview with project lead.pls help me.
Can I redirect tracing to a file
How route table is created in ASP.NET MVC?
Is mvc 4 supporting windows azure sdk (software development kit) ?
Can I customise the serialization process
What is namespaces
How does �side by side� work for the .net framework 3.0?