部署到蔚蓝WebRole没有Visual Studio的 [英] Deploy to an Azure WebRole without Visual Studio

查看:174
本文介绍了部署到蔚蓝WebRole没有Visual Studio的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法,我可以部署我的整个网站/ web应用到Azure的WebRole,而不需要的Visual Studio?

Is there a way I can deploy my entire website/webapp to an Azure WebRole without the need of Visual Studio?

上下文:我们有一个测试环境,其中有一个IIS托管网络应用程序,其中我们的测试试验(当然)。问题是,我们要抢,准确的测试Web应用程序文件夹,并部署它为是一个WebRole。

Context: We have a test environment where there's an IIS hosted web app where our testers test (of course). The thing is, we want to grab that exact tested web app folder and deploy it "as is" to a WebRole.

请避免在评论我们的过程中,我们一直在寻找它,我们最终会改变它,如果我们有,我只是需要一个'简单'是(如何)/无人接听。

Please avoid commenting on our procedure, we have been looking at it and we will eventually change it if we have to, I just need a 'simple' yes(how)/no answer.

推荐答案

Web部署,可用于包装/迁移/恢复IIS应用程序。它可以同时部署在<一个描述Web角色启用href=\"http://blogs.msdn.com/b/cloud/archive/2011/04/19/enabling-web-deploy-for-windows-azure-web-roles-with-visual-studio.aspx\"相对=nofollow>这篇文章并允许更新应用程序的Web角色为部署在测试环境中。

IIS Web Deploy can be used to package/migrate/restore IIS applications. It can be enabled while deploying a web role as described in this article and allows to update the web role with the application as deployed in your test environment.

请注意,只有单一实例的云服务支持,并在由结构控制器维护操作的情况下,你的服务将回滚到由最初的蔚蓝包部署创建状态。 (还有一次是关于多实例的网络部署,但可悲的是没有工作了太清楚了,并不再支持同步之间的一个工具,不要尝试使用或重建它。)

Be aware that only single instance cloud services are supported and that in case of a maintenance operation by the fabric controller, your service will be rolled back to the state created by the initial azure package deployment. (There once was a tool for syncing between multi-instance web deployments but sadly that did not work out too well and is no longer supported. Do not attempt to use or rebuild it.)

<一个href=\"http://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy\"相对=nofollow>安装和配置Web部署显示步骤获得网络部署本地测试在IIS的使用网络文章部署喜欢的这个显示的例子调用的工具。

Installing and Configuring Web Deploy shows the steps to get web deploy for your local testing IIS while articles on using web deploy like this one show examples for calling the tool.

另一种方法来评估正在蔚蓝网站并的 git的部署。这可以为您提供部署的文件,并重现的形式,是不容易产生不必要的回滚,同时允许服务扩展到多个实例。此选项可能无法正常工作,如果它太依赖于Web角色基础设施或应用程序中包含code不适合更受限制的网站环境。

Another option to evaluate are azure websites and git deployment. This could provide you with a documented and reproducible form of deployment that is not prone to unwanted rollbacks while allowing the service to scale to multiple instances. This option might not work out if the application it too tied to the web roles infrastructure or contains code not suitable for the more restricted web sites environment.

第三个选项看是使用 CSPack作为 presented在本文。基本上,你创建一个服务定义和手工打包了Web应用程序,而不在Visual Studio或TFS构建它。

A third option to look at is using CSPack as presented in this article. You basically create a service definition and package up the webapp manually without building it in Visual Studio or TFS.

这篇关于部署到蔚蓝WebRole没有Visual Studio的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆