Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

How to: Create and Use an Application Domain (C# Programming Guide)

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

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# Programming Guide).

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

See Also

Community Additions

ADD
Show:
© 2015 Microsoft