Silverlight 是否为每个浏览器选项卡使用单独的应用程序域?

发布于 2024-07-08 20:26:38 字数 109 浏览 7 评论 0原文

如果同一个 Silverlight 应用程序在两个 Web 浏览器选项卡中运行,每个选项卡是否使用单独的应用程序域?

如果您知道 Microsoft 在何处明确提供此信息,请附上参考。

If the same Silverlight application is running in two web browser tabs, does each tab use a separate application domain?

If you know where Microsoft explicitly provides this information, please include a reference.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

故事和酒 2024-07-15 20:26:38

不是直接来自 Microsoft,而是每个 Silverlight 实例一个 AppDomain:

笑咖 2024-07-15 20:26:38

为了澄清 Corbin 的答案:

它的每个 Silverlight 控件实例都有一个 AppDomain,因此同一页面上的两个 Silverlight 应用程序被分段为 AppDomain。 根据浏览器的不同,选项卡之间可能存在分隔(例如 IE8 和 Chrome 使用单独的进程,而 Firefox 和 IE7 则不使用)。 让两个 Silverlight 实例相互通信的唯一方法是在同一页面上并通过 HTML Bridge 进行通信。

To clarify Corbin's answer:

Its one AppDomain per instance of the Silverlight control, so that two Silverlight apps on the same page are segmented into AppDomains. Depending on the browser, there may be separations between tabs (e.g. IE8 and Chrome uses separate processes, whereas Firefox and IE7 do not). The only way to get two Silverlight instances to talk with each other is on the same page and to communicate through the HTML Bridge.

感悟人生的甜 2024-07-15 20:26:38

浏览器完全控制选项卡,并且出于明显的安全原因应将它们分开。

The browser is completely in control of the tabs, and should keep them separate for obvious security reasons.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文