Using Application DomainsĀ 

Application domains provide a unit of isolation for the common language runtime. They are created and run inside a process. Application domains are usually created by a runtime host, which is an application responsible for loading the runtime into a process and executing user code within an application domain. The runtime host creates a process and a default application domain, and runs managed code inside it. Runtime hosts include ASP.NET, Microsoft Internet Explorer, and the Windows shell.

For most applications, you do not need to create your own application domain; the runtime host creates any necessary application domains for you. However, you can create and configure additional application domains if your application needs to isolate code or to use and unload DLLs.

In This Section

  • Shadow Copying Assemblies
    Describes how shadow copying allows updates to assemblies while they are in use, and how to configure shadow copying.

Reference

  • AppDomain
    Represents an application domain. Provides methods for creating and controlling application domains.
  • Reflection Overview
    Describes how to use the Reflection class to obtain information about an assembly.