Remoting Through Configuration
This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).
This sample shows how to use .NET Framework remoting with configuration files.
To build the sample using the command prompt
Open a command prompt and navigate to the appropriate language specific directory for the sample.
Type msbuild.exe RemotingConfig.sln at the command line.
To build the sample using Visual Studio
Open Windows Explorer and, depending on your choice of language, navigate to the appropriate language specific directory.
Double-click the icon for RemotingConfig.sln to open the file in Visual Studio.
On the Build menu, click Build Solution.
The Client and Server applications will be built in the default \bin or \bin\Debug directories.
To run the sample
Navigate to the directory containing the new executable for Server, using the command prompt.
Type Server.exe at the command line.
Navigate to the directory containing the new executable for Client, using the command prompt.
Type Client.exe at the command line.