Remoting Through Configuration

This sample shows how to use .NET Framework remoting with configuration files.

To build the sample using the command prompt

  1. Open a command prompt and navigate to the appropriate language specific directory for the sample.

  2. Type msbuild.exe RemotingConfig.sln at the command line.

To build the sample using Visual Studio

  1. Open Windows Explorer and, depending on your choice of language, navigate to the appropriate language specific directory.

  2. Double-click the icon for RemotingConfig.sln to open the file in Visual Studio.

  3. On the Build menu, click Build Solution.

  4. The Client and Server applications will be built in the default \bin or \bin\Debug directories.

To run the sample

  1. Navigate to the directory containing the new executable for Server, using the command prompt.

  2. Type Server.exe at the command line.

  3. Navigate to the directory containing the new executable for Client, using the command prompt.

  4. Type Client.exe at the command line.