What should you do?

You are writing a .NET Framework remoting client application.
The server application raises events to the client application using an interface named IBroadcaster and an event wrapper.
The event wrapper and the interface are located in an assembly named General that is common to the client and server.
The server configuration file is as follows:

<system.runtime.remoting>
<application>
<channels>
<channel ref=”http” port=”2020″>
<serverProviders>
<formatter ref=”binary” typeFilterLevel=”Full” />
</serverProviders>
<clientProviders>
<formatter ref=”binary” />
</clientProviders>
</channel>
</channels>
<service>
<wellknown mode=”Singleton” type=”Server.Broadcaster, Server” objectUri=”Broadcaster.soap” />
</service>
</application>
</system.runtime.remoting>

You need to ensure that the server can raise events on the client application.

What should you do?

You are writing a .NET Framework remoting client application.
The server application raises events to the client application using an interface named IBroadcaster and an event wrapper.
The event wrapper and the interface are located in an assembly named General that is common to the client and server.
The server configuration file is as follows:

<system.runtime.remoting>
<application>
<channels>
<channel ref=”http” port=”2020″>
<serverProviders>
<formatter ref=”binary” typeFilterLevel=”Full” />
</serverProviders>
<clientProviders>
<formatter ref=”binary” />
</clientProviders>
</channel>
</channels>
<service>
<wellknown mode=”Singleton” type=”Server.Broadcaster, Server” objectUri=”Broadcaster.soap” />
</service>
</application>
</system.runtime.remoting>

You need to ensure that the server can raise events on the client application.

What should you do?

A.
Configure the remoting configuration file for the client application to use Server.Broadcaster, Server as the type in the wellknown element.
Do not specify a port for the channel.

B.
Configure the remoting configuration file for the client application to use Server.Broadcaster, Server as the type in the wellknown element.
Specify 0 as the port for the channel.

C.
Configure the remoting configuration file for the client application to use General.IBroadcaster, General as the type in the wellknown element.
Do not specify a port for the channel.

D.
Configure the remoting configuration file for the client application to use General.IBroadcaster, General as the type in the wellknown element.
Specify 0 as the port for the channel.



Leave a Reply 0

Your email address will not be published. Required fields are marked *