I am learning C# programming language. I want to know what the advantages of ‘serialization’ are. I only know that it is related to the persistence of object. Your suggestion would be highly appreciated.
I am learning C# programming language. I want to know what the advantages of ‘serialization’ are. I only know that it is related to the persistence of object. Your suggestion would be highly appreciated.
Following are some reward of serialization:
1. Portability: there is no dependence own implementation of classes that can be replaced between various VMs from various users.
2. XML documents are created by compact use an algorithm to reduce redundancies.
3. Fault tolerance: if an error not structural is detected, the affected area is not
taken into account.
4. As an XML document, the result is readable by humans and utilizable by other programs.
Serialization has a lot of benefits with the Binary Serialization. Then the serialization has been mainly designed to be used with JavaBeans that brings some advantage but also some drawbacks. Class Configuration can modify the code for serializing change. If the classes do are not too many and difficult and it is important to have good speed then binary serialization manual are preferable.
Bookmarks