.net - 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?
I have a deploymend ready webservice which needs to be deployed in azure.
The scope of the webservice is, that each customer can host this (with a small instruction) in his own azure tenand.
So the goal would be to just put in a .zip with the soapservice (wsdl, xml, binaries, etc.. ). Is this on some way possible to configure?
解决方案
您可以转到https://yourappname.scm.azurewebsites.net -> 调试控制台 -> CMD -> 转到 /site/wwwroot -> 将文件作为 zip 文件拖放到文件的右边缘列表 -> zip 文件会自动解压缩。
这可能是“仅部署文件”的最简单方法。您可以从例如这里阅读更多信息:https ://blogs.msdn.microsoft.com/benjaminperkins/2017/12/28/deploy-to-an-azure-app-service-using-kudu-and-a -zip 文件/ .
对于更可重复的部署,我建议自动化该过程并使用 WebDeploy、FTP、ZipDeploy 或本地 Git 存储库进行部署。
推荐阅读
- java - JNDI 数据源:从 Weblogic 迁移到 Jboss 7
- php - 在亚马逊上使用 PHP 删除托管区域资源记录集
- python - 从熊猫数据框列中提取多个单词到同一列
- rust - 是否可以使用 Clap 配置未知大小的参数组?
- java - Java:从多数组中提取索引 src
- python-3.x - Cloudfare 中间件递归绕过保护
- jaxb - 如何将无数据节点呈现为
? - ios - 为 App Store 准备不同分辨率的 App 预览视频
- sql-server - 在另一个驱动器上还原后数据库大小增加
- android - SupportMapFragment 正在隐藏 admob 横幅