Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Using Generics in Remoting Through Configuration 

Download sample

This sample shows the specific syntax that must be followed in client and server configuration to use generics with .NET Framework remoting.

To build the sample using the command prompt

  1. Open a command prompt and navigate to the appropriate language specific subdirectory.

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

To build the sample using Visual Studio

  1. Open Windows Explorer and navigate to the appropriate language specific subdirectory.

  2. Double-click the icon for RemotingGenericsInConfigCS.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 or Windows Explorer.

  2. Type Server.exe at the command line, or double-click the icon for Server.exe to launch it from Windows Explorer.

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

  4. Type Client.exe at the command line, or double-click the icon for Client.exe to launch it from Windows Explorer.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.