What is Application Domain?

 Posted by Ddd on 2/22/2011 | Category: .NET Framework Interview questions | Views: 5219 | Points: 40
Answer:

It is the execution boundary within which an application runs.
Application Domain is created inside a process.
One process can have multiple Application Domains.

Example:

Consider a Remoting scenario:

2 exe's of the client and the server are communicating with each other.

2 Application Domains will be created in the process of the server.

Process: In this case, it is the executable of the Operating System that will control the interaction of the client and server exe's.
the 2 exes's run in their Application Domains that will be created in the
execution area(in the RAM) of the OS exe.


Application Domains provide the isolation of the 2 exe's(i.e. the client and the
server).


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response