如何通过 Azure Web 角色加速器将网站(不是 Web 应用程序)部署到 Azure?

发布于 2025-01-07 22:24:23 字数 212 浏览 4 评论 0原文

我有两个 VS 2010 项目。第一个是现有的网站,第二个是 Web 项目。如果我选择 b) 并要求发布,我确实可以选择 Web 部署到 Azure Web 角色加速器服务,并且它工作正常。

但是,我第一次无法做同样的事情。相应的上下文菜单中没有“发布”选项,只有“发布网站...”,这是旧的已知选项。我没有选择网络部署该网站的选项。

我该怎么做呢?

提前致谢,

I have two VS 2010 projects. The 1st is an existing WEB Site while the 2nd is Web project. Should I select b) and ask for Publish I do have the option for Web Deploy to an Azure Web Role Accelerator service and it works fine.

But, I am not able to do the same for the 1st. There is no Publish option in the corresponding context menu, just "Publish Web Site ..." which is the old known one. I do not have the option to web deploy the site.

How can I do it?

Thanks in advance,

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

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

发布评论

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

评论(1

思念满溢 2025-01-14 22:24:23

您无法将网站直接发布到 Azure。查看此内容,了解如何将网站转换为应用程序:

http:// msdn.microsoft.com/en-us/library/aa983476.aspx

如果您确实需要发布网站,可以尝试:

http: //www.davidaiken.com/2010/07/14/how-to-deploy-an-asp-net-web-site-to-windows-azure/

You can't publish a web site to Azure directly. Take a look at this for how to convert the site to an application:

http://msdn.microsoft.com/en-us/library/aa983476.aspx

If you really need to publish a web site, you can try:

http://www.davidaiken.com/2010/07/14/how-to-deploy-an-asp-net-web-site-to-windows-azure/

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