什么是工作域 [英] What is Working Domain

查看:366
本文介绍了什么是工作域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.net Framework中的工作域和应用程序域是什么.请告诉我.

What is Working Domain and Application Domain in .net Framework. Please tell me.

推荐答案

请在Application Domain上阅读:
http://en.wikipedia.org/wiki/Application_domain [ http://msdn.microsoft.com/en-us/library/system.appdomain.aspx [ ^ ],
"使用AppDomain的优势":
—SA
Please read on Application Domain:
http://en.wikipedia.org/wiki/Application_domain[^],
http://msdn.microsoft.com/en-us/library/system.appdomain.aspx[^],
"Advantages of using AppDomain": http://social.msdn.microsoft.com/Forums/en-SG/csharplanguage/thread/dff0b43a-9701-46a4-a314-0537f4f0fcd4[^].

As to the term "Working Domain", I''m not sure if this is a quite certain strict term. You can guess what is might mean in some context, I guess. I suspect this is yet another expression which is not well defined, but the one you could read somewhere, something like "Working thread" — what is that. It would suggest that some threads or domains are not working. I would simply ignore this expression or try to understand from context of the text you came across, if it even makes any sense.

—SA


应用程序域是一种机制(类似于操作系统中的进程),用于将已执行的软件应用程序彼此隔离,以使它们不相互隔离.互相影响.每个应用程序域都有自己的虚拟地址空间,该虚拟地址空间使用该地址空间限制应用程序域的资源.
an application domain is a mechanism (similar to a process in an operating system) used to isolate executed software applications from one another so that they do not affect each other. Each application domain has its own virtual address space which scopes the resources for the application domain using that address space.


域间通信-无法实现直接通信跨应用程序域.但是,应用程序域仍然可以通过按值封送传递对象(未绑定的对象),通过代理进行引用封送(应用程序域绑定的对象)来传递对象.第三种类型的对象称为上下文绑定对象,可以跨域以及在其自己的应用程序域的上下文中通过引用将其编组.由于托管代码具有可验证的类型安全性,因此CLI可以以比操作系统进程低得多的成本提供域之间的故障隔离.用于隔离的静态类型验证不需要操作系统进程所需的相同进程切换或硬件环转换.
Inter-domain communications-Direct communication cannot be achieved across application domains. However, application domains can still talk to each other by passing objects via marshalling by value (unbound objects), marshaling by reference through a proxy (application-domain-bound objects). There is a third type of object called a context-bound object which can be marshalled by reference across domains and also within the context of its own application domain. Because of the verifiable type-safety of managed code, a CLI can provide fault isolation between domains at a much lower cost than an operating system process can. The static type verification used for isolation does not require the same process switches or hardware ring transitions that an operating system process requires.


这篇关于什么是工作域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆