What is a formatter?

Answers were Sorted based on User's Feedback



What is a formatter? ..

Answer / 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

What is a formatter? ..

Answer / bindu sarika

Formatter is an object that encodes and serializes data
into messages at one end and decodes and deserializes
messages into data at the other end.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Dot Net Remoting Interview Questions

What is boxing and unboxing ?

4 Answers   Amdocs, BirlaSoft, TCS,


About Iunknown interface Queue ,its methods Query Interface Addref,Release and Explain each ?

0 Answers   DELL,


What?s a proxy of the server object in .NET Remoting?

1 Answers  


How can objects in two diff. App Doimains communicate with each other ?

1 Answers  


What are CAO's i.e. Client Activated Objects ?

1 Answers  






What is asynchronous programming?

0 Answers  


Explain how to perform remoting?

0 Answers  


What is the difference between private and shared assembly?

1 Answers  


How can you debug failed assembly binds?

1 Answers  


What is assembly ?

4 Answers   DELL, TCS,


What are possible implementations of distributed applications in .NET?

2 Answers  


Define singleton activation mode in .net remoting?

0 Answers  


Categories