Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 the specific syntax that must be followed in client and server configuration to use generics with .NET Framework remoting.
Open a command prompt and navigate to the appropriate language specific subdirectory.
Type msbuild.exe RemotingGenericsInConfigCS.sln at the command line.
Open Windows Explorer and navigate to the appropriate language specific subdirectory.
Double-click the icon for RemotingGenericsInConfigCS.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.
Navigate to the directory containing the new executable for Server, using the command prompt or Windows Explorer.
Type Server.exe at the command line, or double-click the icon for Server.exe to launch it from Windows Explorer.
Navigate to the directory containing the new executable for Client, using the command prompt or Windows Explorer.
Type Client.exe at the command line, or double-click the icon for Client.exe to launch it from Windows Explorer.