Programming with Application Domains and Assemblies
Hosts such as Microsoft Internet Explorer, ASP.NET, and the Windows shell load the common language runtime into a process, create an application domain in that process, and then load and execute user code in that application domain when running a .NET Framework application. In most cases, you do not have to worry about creating application domains and loading assemblies into them because the runtime host performs those tasks.
However, if you are creating an application that will host the common language runtime, creating tools or code you want to unload programmatically, or creating pluggable components that can be unloaded and reloaded on the fly, you will be creating your own application domains. Even if you are not creating a runtime host, this section provides important information on how to work with application domains and assemblies loaded in these application domains.
In This Section
Application Domains and Assemblies How-to Topics
Provides links to all How-to topics found in the conceptual documentation for programming with application domains and assemblies.
Using Application Domains
Provides examples of creating, configuring, and using application domains.
Programming with Assemblies
Describes how to create, sign, and set attributes on assemblies.
Emitting Dynamic Methods and Assemblies
Describes how to create dynamic assemblies.
Assemblies in the Common Language Runtime
Provides a conceptual overview of assemblies.
Provides a conceptual overview of application domains.
Describes how to use the Reflection class to obtain information about an assembly.