Monday, November 1, 2010

Advantages of AppDomain

A single CLR operating system process can contain multiple application domains. There are advantages to having application domains within a single process.

  1. Lower system cost - many application domains can be contained within a single system process.
  2. Each application domain can have different security access levels assigned to them, all within a single process.
  3. Code in one AppDomain cannot directly access code in another AppDomain.
  4. The application in an AppDomain can be stopped without affecting the state of another AppDomain running in the same process.
  5. An Exception in on AppDomain will not affect other AppDomains or crash the entire process that hosts the AppDomains.

No comments:

Post a Comment