Answer Posted / rajeshree
A formatter is used to determine the serialization format
for objectobjects. All formatters expose an interface
called the IFormatter interface. Two formatters inherit
from the IFormatter interface and are provided as part of
the .NET framework. These are the Binary formatter and the
SOAP formatter.
The Binary Formatter
The Binary formatter provides binary encoding for compact
serialization either for storage or for socket-based
network streams. The BinaryFormatter class is generally not
appropriate when data is meant to be passed through a
firewall.
The SOAP Formatter
The SOAP formatter provides formatting that can be used to
enable objects to be serialized using the SOAP protocol.
The Soap Formatter class is primarily used for
serialization through firewalls or among diverse systems.
Other Formatters
The .NET framework also includes the abstract FORMATTERS
class that can be used as a base class for custom
formatters. This class inherits from the IFormatter
interface.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is fundamental of published or precreated objects in remoting?
What is the proxy of the server object in .net remoting?
Which one is better WebService and Remoting ?
Define the lease of the object?
How to decide which to use .net remoting or asp.net web services?
What is objref object in remoting?
What are the types of remotable objects?
How are the activation URLs different in case of SAO and CAO in .NET remoting?
Can you pass SOAP messages through remoting?
What do mean by remotable objects in .net remoting?
How do you directly call a native function exported from a DLL?
How can we call methods in remoting asynchronously?
Will clr handle unmanaged code or not?
Write a example code for remoting?
When do we use delegates in your remoting applications?