Advanced: Remoting - Client

This client application supports connecting to three different types of remote object instances.

Featured Highlights

The application, by default, loads its remoting configuration data from a file named Client.exe.config. The application shows how to work with remote objects in a similar fashion to DCOM. .NET Remoting refers to this as a 'client-activated' object. In addition, the remoting layer supports singleton objects (one object for many clients) and single call objects (each client gets its own instance which lives for one method call only: a stateless object).

Requirements

Requires the Trial or Release version of Visual Studio .NET Professional (or greater).

Running the Sample

You must have compiled the Server application before you will be able to compile this client.

In order for the client to 'find' the objects, it reads Client.exe.config at startup. The application's assumption is that the file lives in the same directory as the exe file. Note that the file itself is stored at the source directory level as app.config. When you compile the application, the file is automatically copied to the output directory with the correct name.

Please see the ReadMe.htm file located in the directory above this one.

Last Update: 7 July 2002