Windows Azure 上 ASP.NET MVC 的 AppDomain 动态程序集加载?

发布于 2024-12-16 02:33:20 字数 327 浏览 5 评论 0原文

我已经在 Windows Azure 上有几个 .NET 后台应用程序(也称为辅助角色),它们依赖于 AppDomain 隔离和动态程序集加载。主要优点是:

  • 使用新程序集重新启动应用程序只需几秒钟(VM 重新启动需要 5 分钟)。
  • 团队合作得到简化,因为我们可以使用 Azure 存储帐户仅授予对应用程序的狭窄访问权限(而不是通过门户授予对所有 Windows Azure 服务的访问权限)。

我目前正在考虑将流程扩展到 ASP.NET MVC webapp 的 Web 角色。有谁知道该怎么做?

I have already several .NET backgrounds apps on Windows Azure (aka Worker Roles) that are relying on AppDomain isolation and dynamic assembly loading. The main benefits are:

  • rebooting the app with new assemblies takes a few seconds (versus 5min for VM reboot).
  • teamwork is simplified as we can use the Azure Storage account to grant narrow access to the app only (instead of granting accesses to all Windows Azure services through the portal).

I am currently considering extending the process to Web Role for ASP.NET MVC webapp. Does anyone knows how to do this?

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

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

发布评论

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

评论(1

只为一人 2024-12-23 02:33:20

如果您已经在辅助角色中进行动态加载,那么为什么还要考虑 Web 角色呢?完全一样。

也许你可以详细说明一下你所缺少的东西?

If you are already doing dynamic loading in a worker role then why the question for a web role. It is exactly the same.

Maybe you can elaborate a little on what you thing you are missing?

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