AppDomain vs Process

简介:

http://bytes.com/topic/c-sharp/answers/261960-appdomain-vs-process

What is exactly the difference b/w an AppDomain and a Process, they seem to
me very much the same -- boundary for an execution context with protected
resources.

Carlos J. Quintero [.NET MVP]
 
Posts: n/a
 
# 2: Nov 16 '05

re: AppDomain vs Process


In short:

A process is a Win32 OS concept and it is the boundary for isolation of
native apps.

An appdomain is a .NET concept and it is the boundary for isolation of .NET
apps.

1 process can have 1 or more appdomains. Since processes are "expensive",
appdomains are a better solution for .NET applications, where the .NET
runtime (rather than the OS) can ensure the isolation.














本文转自cnn23711151CTO博客,原文链接:http://blog.51cto.com/cnn237111/508443 ,如需转载请自行联系原作者











相关文章
|
编解码 自然语言处理 数据可视化
精通 Transformers(四)(4)
精通 Transformers(四)
411 0
|
前端开发 开发者 Ruby
Sass、LESS区别是什么?大家为什么要使用他们?
Sass(Syntactically Awesome Style Sheets)和LESS(Leaner CSS)是两种流行的CSS预处理器,它们在原生CSS的基础上提供了一些额外的功能和语法。
411 1
|
监控 测试技术 Shell
JMeter压测踩坑大全
分布式压测
566 0
|
云安全 弹性计算 监控
ECS使用感受
阿里云服务器初体验
|
Java 数据库连接 Apache
|
虚拟化 网络架构 网络安全