Share via


How to: Create and Use an Application Domain (C# and Visual Basic)

Application domains provide a method of isolating your code for purposes of security and performance. For more information, see Application Domains (C# and Visual Basic).

Using an application ___domain

  1. Create the application ___domain. The common language runtime host creates an application ___domain automatically for your application. For information, see the topic How to: Create an Application Domain.

  2. Configure the application ___domain. For more information, see How to: Configure an Application Domain.

  3. Load an assembly into the application ___domain. For more information, see How to: Load Assemblies into an Application Domain.

  4. Access the contents of the other assembly. For more information, see Executing Code in Another Application Domain (C# and Visual Basic).

  5. Unload the application ___domain. For more information, see How to: Unload an Application Domain.

See Also

Reference

Application Domains (C# and Visual Basic)

Concepts

C# Programming Guide

Application Domains and Assemblies

Programming with Application Domains

Other Resources

Visual Basic Programming Guide

Application Domains

Application Domains

Programming with Application Domains and Assemblies