Questions about .NET Application Domains

I know that after running the .NET 3 application, the applications will be created automatically using the CLR, this is the system domain, the common domain and the default domain.

System Domain:

  • Create shared and standard domains
  • Provide functions for loading and unloading application domains
  • Download mscorlib.dll to a common domain
  • Accounting for all other domains
  • Accounting for interned string literals
  • Preliminarily creating certain types of exceptions, such as an exception from memory, an exception, etc.

Common domain:

  • Contains a neutral domain code.
  • Contains basic types such as String, enum, Int32, etc.

Default Domain:

  • It runs the .NET code of the application.

Here are a couple of questions about them:

  • ? - ? , , AppDomains (, , ), - .

  • " "? .

  • AppDomain , . , , , , , CLR , . ?

.

+3
1

, . .

Cross-AppDomain ( ) .

,

+3

Source: https://habr.com/ru/post/1769295/


All Articles