Explain Serialization Formatters in .NET Remoting.- In .Net Remoting, the objects are shared over distributed network. The objects are transmitted in serialized form. The objects are first serialized into message data before it is sent with the wire. On the other end of the wire, this serialized data is read and desterilized back to the actual object. - This process of converting objects into message data is done by serialization formatters. .Net Remoting supports two formatters :
1. SOAP Formatter 2. Binary Formatter
- SOAP Formatter converts objects into XML string whereas Binary Formatter converts an object's state into a binary stream. The binary serialization formatter is slightly faster.
|