blog

Home / DeveloperSection / Blogs / What is Serialization?

What is Serialization?

Saurabh anand3030 11-Dec-2010
Serialization is the process of taking an object and converting it to a format in which it can be transported across a network or persisted to a storage location. The storage location could be as simple as using a file or a database. The advantage of serialization is the ability to transmit data across the network in a cross-platform-compatible format.

There are three formats of serialization
• Binary Serialization
• SOAP Serialization
• XML Serialization

The format is controlled based upon what object is used to perform the serialization. The XML format is produced by using the System.Xml.Serialization.XmlSerializer class. The SOAP and binary formats are produced by using classes under the System.Runtime.Serialization.Formatters namespace.

Updated 18-Sep-2014

Leave Comment

Comments

Liked By