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


Please Help Members By Posting Answers For Below Questions

What is managed extensibility framework?

553


Will there be a .net compact framework 3.0 release with release of .net framework 3.0?

536


Why we need a separate mobile project template, while we can render our web application in mobile ?

577


Can any particular component of .net framework 3.0 be removed?

514


Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?

559






What operating systems will the .net framework 3.0 be available for?

564


What does mvvm mean?

546


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

537


What is html.renderpartial?

558


Explain the use of Inversion of control (IOC)?

598


Does windows 10 need .net framework?

524


What is difference between html.beginform and ajax.beginform?

599


Can you explain the page life cycle of mvc?

551


What is the use .Glimpse in ASP.Net MVC

565


What are the levels at which filters can be applied in an asp.net mvc application?

586