What is a .NET application domain?

Technology CommunityCategory: .NET CoreWhat is a .NET application domain?
VietMX Staff asked 3 years ago

It is an isolation layer provided by the .NET runtime. As such, App domains live with in a process (1 process can have many app domains) and have their own virtual address space.

App domains are useful because:

  • They are less expensive than full processes
  • They are multithreaded
  • You can stop one without killing everything in the process
  • Segregation of resources/config/etc
  • Each app domain runs on its own security level