如何通过 Azure Web 角色加速器将网站(不是 Web 应用程序)部署到 Azure?
我有两个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法将网站直接发布到 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/