.NET Remoting

Application domain

The boundary with in which .NET application runs. Application domain provides isolated environment for a .NET application. Application running in one application domain cannot access code in another application domain. To access code in another application domain , an application needs to use proxy.

Overview of .NET Remoting

.NET Remoting System allows client to call methods on objects across remoting boundaries i.e outside its own application domain.

Communication between objects across application domains requires :

  1. Server object which exposes functionality

  2. A client which makes call to server object

  3. Transportation mechanism to pass calls from client to server object

.NET Remoting Architecture :

.NET Remoting Architecture - Client Server Oject Proxy Formatter

The figure illustrates the basic process of two objects communicating across distinct application domains.
Client is a piece of software that attempts to interact with a remote object. The server is the software agent that provides remote access to select objects.

.NET Remoting Framework

The key players in .NET Remoting are as follows:

  1. Client Object

  2. Remote Object

  3. Proxy

  4. Messages

  5. Formatters

  6. Channels

Leave a Reply