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
How we can invoke child actions in ASP.Net MVC?
Can we have enum in entity framework?
What are scaffold templates in mvc?
What is the difference between partial and renderpartial?
Explain something about model, view and controllers in asp.net mvc?
explain why t4 entity is important in entity framework?
What is renderbody?
In which assembly is the mvc framework defined?
Is .net framework 4.8 the last version?
What is difference between razor and web form engine?
Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?
Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?
What are the sub types of ActionResult?
What is presentation framework?
What is the use of display modes?