What should you do?

You have a .NET Remoting object named ProductLoader. The
ProductLoader class is a server-activated Singleton object.

The ProductLoader class loads product data into a Microsoft SQL Server database. The Load method of the ProductLoader class is a time-consuming method to call.

You are developing a client application that uses the ProductLoader class. You want to ensure that the client application can continue to respond to user input while the Load method of the ProductLoader class is called.

What should you do?

You have a .NET Remoting object named ProductLoader. The
ProductLoader class is a server-activated Singleton object.

The ProductLoader class loads product data into a Microsoft SQL Server database. The Load method of the ProductLoader class is a time-consuming method to call.

You are developing a client application that uses the ProductLoader class. You want to ensure that the client application can continue to respond to user input while the Load method of the ProductLoader class is called.

What should you do?

A.
Use an AsyncDelegate instance to call the Load method.

B.
Modify the ProductLoader class to be derived from IAsyncResult.

C.
Configure the ProductLoader class to be a client-activated .NET Remoting object.

D.
Configure the client application to have its own remoting channel that matches the server’s channel and formatter.



Leave a Reply 0

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