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 the version number for the next version of the .net framework, codenamed �orcas�?

585


What are the differences between Partial View and Display Template and Edit Templates in ASP.Net MVC?

678


what is entityclient?

765


Can you explain model, controller and view in mvc?

655


Is it possible to create a custom filter?

662






How does the .net framework 3.0 relate to the .net framework 2.0?

640


What filters are executed in the end?

679


What is entityset? : Entity framework

656


What is action methods in web api?

637


What is mapping in entity framework? : Entity framework

602


Name a few different return types of a controller action method?

634


What is the difference between entity framework and mvc?

615


Explain covariance and contra-variance in .net framework 4.0. Give an example for each.

672


what is msl?

705


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

626