If you have ever worked with DCOM or CORBA, then you have an understanding of how to work with Remote Objects and how to deal with application communications across boundaries. .NET Remoting is Microsoft’s new infrastructure that provides a rich set of classes that allow developers to ignore most of the complexities of deploying and managing remote objects. In .NET Remoting, calling methods on remote objects is nearly identical to calling local methods. Here, I give a very brief introduction about .NET Remoting. Remoting is a framework built into the common language runtime (CLR) that can be used to build sophisticated distributed applications and network services. When a client creates an instance of a remote object, it receives a Proxy to the class instance on the server. All methods called on the Proxy will automatically be forwarded to the remote class and any results will be returned to the client. From the client's perspective, this process is no different than making a local call. To use .NET remoting to build an application in which two components communicate directly across an application domain boundary, you need to build only the following:
Even in a complex, multiclient/multiserver application, .NET remoting can be thought of in this way. The host and the client application must also be configured with the remoting infrastructure and you must understand the lifetime and activation issues that the remoting infrastructure introduces.
|
|
|
|
Of course, .NET remoting is in itself a full 500 pages book, this is just a starter and can be used generate interest for development. Share your thoughts. |