如何在 ASP.NET 中表示 AppDomain?
最近我参加了一次采访,被要求解释一下“应用领域”以及引入“应用领域”的特殊目的。
我解释道:
AppDomain 是逻辑进程和由 CLR 管理的物理进程 (win32) 的运行时表示。
特殊用途:
保持高级应用程序隔离;一个AppDomain的崩溃永远不会中断其他AppDomain。
但面试官对我的期望还是很高?我还可以补充哪些要点?
谢谢。
Recently i attentened an interview.I have been asked to explain the "Application Domain" and the special purpose about the introduction of "application domain".
I explained :
AppDomain is a runtime representation of a logical process withing a physical process (win32) managed by CLR.
Special purpose :
Keeps high level application isolation ;fall down of one AppDomain never interrupt othe AppDomain.
But still the interviewer expects lots from me ? what are the additional points could i add further?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
他们可能希望您谈论运行不同的应用程序池以及这如何影响您的 AppDomain(就 IIS 和 ASP.NET 而言)。
示例:通过让您的网站在自己的应用程序池中运行,您可以降低网站因其他应用程序崩溃而崩溃的风险,反之亦然,因为它将在自己的进程中运行。
They might want you to talk about running different Application Pools and how that can affect your AppDomain as far as IIS and ASP.NET goes.
Example: By having your website run in it's own Application Pool, you reduce the risk of the website going down because some other application crashes, and vice versa, since it would be running in it's own process.
您应该谈论高级安全配置选项,并且这里是维基百科中的解释,足够完整。另外这里是更复杂的概述。
You should say about advanced security configuration options and also here is explanation in wikipedia, that is complete enough. Also here is more complex overview.