[英]How do I deploy an existing web app project to Azure using Visual Studio but no Azure Emulator?
I have an existing project with three web apps (two web API and a front end). 我有一个包含三个Web应用程序(两个Web API和一个前端)的现有项目。 I would like to deploy to Azure all three with a single click of Publish using the Publish Web wizard.
我希望使用“发布Web”向导单击一次“发布”即可将所有三个部署到Azure。
I installed the Azure SDK and tried to create a new Cloud Service, but this install the VMs and the storage emulator, that I don't need at all and slows down my PC. 我安装了Azure SDK并尝试创建一个新的Cloud Service,但这安装了我根本不需要的VM和存储模拟器,并降低了我的PC的速度。
I tried with Azure Resource Group to add to an existing project, but the Deploy button remains disabled, like it failed to connect to the web site project. 我尝试使用Azure资源组添加到现有项目,但是“部署”按钮保持禁用状态,就像它无法连接到网站项目一样。 What is the recommended way to do this?
推荐的方法是什么?
I am using Visual Studio 2015 我正在使用Visual Studio 2015
Thx. 谢谢。
You do not need to install the emulator for the deployment to work, just download the parts you need from http://www.microsoft.com/en-us/download/details.aspx?id=48178 (assuming you want SDK 2.7). 您无需安装仿真程序即可使部署正常运行,只需从http://www.microsoft.com/zh-cn/download/details.aspx?id=48178下载所需的部件(假设您需要SDK 2.7) )。
It's not really clear from your question if you want to deploy a Cloud Service or a Web App. 从您的问题是否真的不清楚,您是否要部署Cloud Service或Web App。 If you want to deploy a Cloud Service, you can add all 3 projects as roles and they will all be published within a single deployment (just one click to Publish).
如果要部署Cloud Service,则可以将所有3个项目添加为角色,并且它们都将在单个部署中发布(只需单击一次即可发布)。 But, if what you want is to deploy them as web apps, you will need to do it in 3 different apps, which means 3 clicks to publish.
但是,如果要将它们部署为Web应用程序,则需要在3个不同的应用程序中进行操作,这意味着要单击3次才能发布。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.