+1 vote
in Dot Net by

What are the types of Serialization?

1 Answer

0 votes
by

The different types of Serialization are: XML serialization, SOAP, and Binary.

  • XML serialization – It serializes all the public properties to the XML document. Since the data is in XML format, it can be easily read and manipulated in various formats. The classes reside in System.sml.Serialization.
  • SOAP – Classes reside in System.Runtime.Serialization. Similar to XML but produces a complete SOAP compliant envelope which can be used by any system that understands SOAP.
  • Binary Serialization – Allows any code to be converted to its binary form. Can serialize and restore public and non-public properties. It is faster and occupies less space.

Related questions

+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
0 votes
asked Jun 25, 2019 in Dot Net by Venkatshastri
...