Configuration provides the necessary information to .Net Remoting Framework . We can provide .Net Remoting configuration parameters in two ways. Either we can provide the information to the Server and the Client directly by program coding or through a Machine.config file.
Using a configuration file is give better advantage over coding because the parameters of remote object can be configured without changing any program coding and avoid recompile the source code.
Following are the information provided by configuration file :
- Metadata describing the Remote Type.
- Type of Activation.
- The URL that uniquely identifies the object of that type.
Here we have to provide configuration information to Listener Object and also Client Object .
Click here to download TimeListener.exe.config
Click here to download Client.exe.config