UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 2
Create a client application to access a remote object.
- Create a remote object.
- Configure a client application programmatically.
- Configure a client application manually by using configuration files.
- Access the remoting service by calling a remote method.
- Call a remote method synchronously in a client application.
To create a remote object, configure the client application to use remoting. This can be done using a config file, or programatically. MSDN has information on setting up a client application.
You can see how to progmatically setup a client on Jibin Pan's article at c-sharpcorner.
MSDN has information on how to setup a client using configuration files.
To call a remote method, create the object as usual (if you have remoting configured for the type) or use Activator.GetObject.
By default remoting calls are synchronous. So I think they meant to say "Call a remote method asynchronously in a client application". MSDN has information on how to do invoke a method asynchronously.