What is serialization in .NET? What are the ways to control
serialization?
Answer Posted / arijit mandal
Serialization is the process of converting an object into a
stream of bytes. On the other hand Deserialization is the
process of creating an object from a stream of bytes.
Serialization/Deserialization is used to transport or to
persist objects. Serialization can be defined as the
process of storing the state of an object to a storage
medium. During this process, the public and private fields
of the object and the name of the class, including the
assembly are converted to a stream of bytes. Which is then
written to a data stream. Upon the object's subsequent
deserialized, an exact clone of the original object is
created.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
What is tempdata?
How we can add the CSS in ASP.Net MVC?
List out few different return types of a controller action method?
What is the difference between viewbag and viewdata in asp.net mvc?
What is a razor file?
mention what are the various methods provided by the dataset object to generate xml?
What is the benefit of entity framework?
Explain tempdata in asp.net mvc?
What is page life cycle?
Which .net framework is installed?
Can a view be shared across multiple controllers? If yes, how we can do that?
What is disconnected scenario? : Entity framework
Explain .Net Framework? Why we use it?
Name a few different return types of a controller action method?
What is the difference between adding routes, to a webforms application and to an mvc application?