What is Serialization?

Serialization of object is very old technique and it does not depend on .NET.

When an object is serialized, the data stored in the object (including reference to other objects) is converted into the stream of bytes that can be more easily stored into the database or other file system.

This serialized data can be utilized in future to rebuild the object and this process is known as deserialization.

Before .NET it was possible to serialized/deserialized the object but it required more manual coding.

Since, object is base data type in .NET, serialization/deserialization functionality is built in to the Framework.


One response to “What is Serialization?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s