You create a .NET Remoting object named ChatServer. ChatServer is the central server for a group of chat client applications.
Client applications send string chat messages to ChatServer. ChatServer then broadcasts each message to all registered chat client applications. ChatServer uses an HTTP remoting channel to communicate with the client applications.
The ChatServer class includes the following code segment:
You need to write a client application that includes a class named ChatClient to communicate with
ChatServer. You want ChatClient to send and display chat messages.
What should you do?
A.
Implement the IDeserializationCallback interface in ChatClient.
Implement an event handler for the Submission event.
B.
Derive ChatClient from System.Object.
Implement the ISerializable interface.
Implement an event handler for the Submission event.
C.
Implement the ISerializable interface in ChatClient.
Implement an event handler for the Submission event.
Host ChatClient in Internet Information Services (IIS) by using a Web.config file.
D.
Derive ChatClient from MarshalByRefObject.
Implement an event handler for the Submission event.
Configure ChatClient to listen on an HttpChannel.