Search This Blog

Monday, August 8, 2011

What is Serialization?

Seralize : -
                 The process of Converting object into a stream of bytes. This stream of bytes can be persisted. Deseralization is the reverse process. It is converting stream of bytes into object.

Seralization is generally used during remoting while transporting objects and to persist file objects and database objects.

In .net 2 ways of seralization is there : 1) XMLSerializer and 2) BinaryFormatter / SoapFormatter

1 comment: