Saturday, July 21, 2007

.net Framework : Application Domain

Application Domain:
App domain prevents fault in one application affecting another application
Individual applications can be stopped without stopping the entire process
App domain allows enables user to unload the code running in a single application
Individual assemblies/types can not be unloaded, only a complete domain can be unloaded
CLR maintains isolation by preventing code access from one application to another
This isolation is maintained by preventing direct calls between objects in different application domains
Objects that are passed between domains are either copied or accessed by proxy
When object is accessed through a proxy, such a call is a remote call
App domain provides configuration settings such as app version policies, remote assembly location
App domain also manages permissions granted to the code which runs inside it

No comments: