A single CLR operating system process can contain multiple application domains. There are advantages to having application domains within a single process.
- Lower system cost - many application domains can be contained within a single system process.
- Each application domain can have different security access levels assigned to them, all within a single process.
- Code in one AppDomain cannot directly access code in another AppDomain.
- The application in an AppDomain can be stopped without affecting the state of another AppDomain running in the same process.
- An Exception in on AppDomain will not affect other AppDomains or crash the entire process that hosts the AppDomains.
No comments:
Post a Comment