Explain Serialization Formatters in .NET Remoting - Remoting.NET

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.
What are the requirements to enable remote components to interact each other? - .Net Remoting
.Net Remoting - To enable communication between objects across remoting boundaries, you need to have a server object to expose service...
Steps to publish an object outside the service domain - .Net Remoting
.Net Remoting - To publish a service outside the service domain, you need to: Identify the application domain that will host the service.....
Define Client Activated Objects (CAO) - .Net Remoting
.Net Remoting - Client-activated objects are objects whose lifetimes are controlled by the client, i.e. calling application domain....
Post your comment