Share via


Remoting Generics Technology Sample

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.

For information about using the samples, see the following topics:

To build the sample using the command prompt

  1. Open a command prompt window and navigate to the \CS subdirectory.

  2. Type msbuild RemotingGenericsCS.sln at the command line.

To build the sample using Visual Studio

  1. Open Windows Explorer and navigate to the \CS subdirectory.

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

  3. 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

  1. In the Command Prompt window, navigate to the directory containing the new executable.

  2. Type Client.exe at the command line.

NoteNote

This sample builds console applications. You must launch and run them from a command prompt window to view their output.

Remarks

For more information about generics and Remoting, see the comments in the source code files.

See Also

Reference

Activator
IpcChannel
ChannelServices
MarshalByRefObject
RemotingConfiguration
System.Runtime.Remoting
System.Runtime.Remoting.Channels.Ipc
WellKnownServiceTypeEntry