Windows Azure 上 ASP.NET MVC 的 AppDomain 动态程序集加载?
我已经在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您已经在辅助角色中进行动态加载,那么为什么还要考虑 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?