.net - 什么是 .NET 应用程序域?

标签 .net appdomain applicationdomain

什么是应用程序域 (AppDomain),它与进程或线程有何不同?

最佳答案

MSDN .

Application domains provide a more secure and versatile unit of processing that the common language runtime can use to provide isolation between applications. You can run several application domains in a single process with the same level of isolation that would exist in separate processes, but without incurring the additional overhead of making cross-process calls or switching between processes. The ability to run multiple applications within a single process dramatically increases server scalability.



AppDomain 基本上是托管代码的隔离执行环境。

关于.net - 什么是 .NET 应用程序域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2368519/

相关文章:

c# - 'null' lambda 表达式是否有 C# 语法?例如,在没有 lambda 表达式的情况下调用 OrderBy(x => x)?

c# - 在用户控件中更改默认背景颜色的问题

asp.net - .NET进程和AppDomains在什么情况下会共享内存中已加载的程序集?

c# - ApplicationBase 之外的 PrivateBinPath

c# - 将程序集加载到安全性较低的应用程序域中

c# - 尝试创建实例应用程序域

.net - 使用 SolrNet 查询 Solr 时,查看请求的实际 Url 的最简单方法是什么?

c# - Verlet Integration 正在炸毁我的物理引擎

c# - 枚举所有没有 mscoree 的 AppDomains

flash - ApplicationDomain.domainMemory 有什么用?