Remoting Generics Technology Sample
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 demonstrates the use of generics with .NET Framework Remoting. It consists of two applications, a client and a server, and a library used by both applications.
To build the sample using the command prompt
Open a command prompt window and navigate to the \CS subdirectory.
Type msbuild RemotingGenericsCS.sln at the command line.
To build the sample using Visual Studio
Open Windows Explorer and navigate to the \CS subdirectory.
Double-click the icon for RemotingGenericsCS.sln to open the file in Visual Studio.
On the Build menu, click Build Solution.
The applications will be built in the default \bin\Debug subdirectories under their respective project directories.
To run the sample
In the Command Prompt window, navigate to the directory containing the new executable.
Type Client.exe at the command line.
|This sample builds console applications. You must launch and run them from a command prompt window to view their output.|
For more information about generics and Remoting, see the comments in the source code files.