System.AppDomain Namespace
.NET (Core and Framework)
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, Can anyone explain me the REAL TIME use of System.AppDomain namespace with an simple example ? Thanks ! DHARMA.R
Assume you have a system with high need for security. Further assume that this system supports plugins. Now the plugins can be loaded in a different application domain with more restricted security settings (e.g. they are not allowed to use reflection, the newtork drives etc.). A good side effect is, that the assemblies containing the plugins can be unloaded (they are unloaded once the whole application domain gets destroyed).