简体   繁体   English

如何从二进制文件中以Azure部署Web服务

[英]How to deploay an webservice in azure from binaries

Is there an option to deploy a azure web app (webservice) from binaries instead of using the publisher profile in visual studio? 是否可以从二进制文件部署azure Web应用程序(webservice)而不是在Visual Studio中使用发布者配置文件?

I have a deploymend ready webservice which needs to be deployed in azure. 我有一个deploydemend就绪的Web服务,需要将其以天蓝色部署。

The scope of the webservice is, that each customer can host this (with a small instruction) in his own azure tenand. Web服务的范围是,每个客户都可以使用自己的天蓝色Tenant托管(只需少量说明)。

So the goal would be to just put in a .zip with the soapservice (wsdl, xml, binaries, etc.. ). 因此,目标是仅将一个带soapservice的.zip文件(wsdl,xml,二进制文件等)放入。 Is this on some way possible to configure? 是否可以通过某种方式进行配置?

You can go to https://yourappname.scm.azurewebsites.net -> Debug console -> CMD -> go to /site/wwwroot -> Drag-and-drop your files as a zip file to the right edge of the file listing -> the zip file gets unpacked automatically. 您可以转到https ://yourappname.scm.azurewebsites.net->调试控制台-> CMD->转到/ site / wwwroot->将文件作为zip文件拖放到文件的右边缘列表-> zip文件会自动解压缩。

This is perhaps the easiest way to "just deploy files". 这也许是“仅部署文件”的最简单方法。 You can read more on it from for example here: https://blogs.msdn.microsoft.com/benjaminperkins/2017/12/28/deploy-to-an-azure-app-service-using-kudu-and-a-zip-file/ . 您可以从下面的示例中了解更多信息: https : //blogs.msdn.microsoft.com/benjaminperkins/2017/12/28/deploy-to-an-azure-app-service-using-kudu-and-a -zip-file /

For a more repeatable deployment, I do suggest automating the process and using either WebDeploy, FTP, ZipDeploy, or the local Git repository to do deployments. 对于更可重复的部署,我建议自动执行该过程,并使用WebDeploy,FTP,ZipDeploy或本地Git存储库进行部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM