tags:

views:

39

answers:

2

Inside an application Domain "AD1", try to crate another Application domain "AD2" (Like nested application domain). Is this possible? e.g. When we create an process, that process will run in default application domain. In this process, if we create an new Application domain named "AD1", is this "AD1" is created inside default application domain?

A: 

All code runs within an application domain. There's no hierarchy or nesting - any AppDomain with sufficient permission can create one, but they're separate from each other.

Jon Skeet
A: 

AppDomains are not nested. Every domain is a separate, isolated sandbox.

Application Domains

desco