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 :
Server object which exposes functionality
A client which makes call to server object
Transportation mechanism to pass calls from client to server object
.NET Remoting Architecture :
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: