1.

What Are The Types Of Serialization?

Answer»

The types of Serializations are given bellow:

1 BINARY Serialization
In this process all the public, PRIVATE, read only MEMBERS are serialized and convert into stream of bytes. This is used when we want a complete conversion of our objects.
2 SOAP Serialization
In this process only public members are converted into SOAP format. This is used in web services.
3 XML Serialization
In this process only public members are converted into XML. This is a CUSTOM serialization. Required namespaces: System.Xml, System.Xml.Serialization.

The types of Serializations are given bellow:

1 Binary Serialization
In this process all the public, private, read only members are serialized and convert into stream of bytes. This is used when we want a complete conversion of our objects.
2 SOAP Serialization
In this process only public members are converted into SOAP format. This is used in web services.
3 XML Serialization
In this process only public members are converted into XML. This is a custom serialization. Required namespaces: System.Xml, System.Xml.Serialization.



Discussion

No Comment Found