Search This Blog

Thursday, June 12, 2014

Serialization and Deserialization in c#

Serialization is the process of converting an object into stream of bytes for storage and data transmission.
Deserialization is the reverse process of converting stream of bytes to their original form.

Advantages of Serialization:
  1. Facilitate the transportation of an object through a network
  2. Create a clone of an object
Disadvantage of Serialization:
  1. Resource overhead that is involved in serializing and deserializing the data.
  2. Latency issues that are involved for transmitting the data over the network.
  3. Serialization is a slow process.

No comments:

Post a Comment