Application domain is the boundary within which an application runs. A process can contain multiple application domains.
Application domains provide an isolated environment to applications that is similar to the isolation provided by processes.
An application running inside one application domain cannot directly access the code running inside another application domain.
To access the code running in another application domain, an application needs to use a proxy.
An application domain is a virtual process that serves to isolate an application. All objects created within the same application scope are created within the same application domain. Multiple application domains can exist in a single operating system process, making them a lightweight means of application isolation.
Asked In: Many Interviews |