简体   繁体   English

在生产Web服务器上安装msdeploy.exe(Windows Server 2016)

[英]Installing msdeploy.exe on a production web server (Windows Server 2016)

There are always security concerns about everything and many are subjective given varying risk tolerances. 始终存在对所有事物的安全性关注,并且鉴于风险承受能力的变化,许多安全性都是主观的。

Ideally, though, should msdeploy.exe be installed on production web servers? 但是,理想情况下,应该在生产Web服务器上安装msdeploy.exe吗? If not, is there a set of command line parameters equivalent to that of: 如果没有,是否存在与以下命令等效的一组命令行参数:

  1. Right-click web application in Visual Studio 在Visual Studio中右键单击Web应用程序
  2. Publish (File System)... 发布(文件系统)...

I realize one could just write a script to extract these same files from the web deployment package (*.zip), but if there was an easier way to do it with msdeploy.exe (ie extract files only), that would be preferred. 我意识到可以编写一个脚本从Web部署程序包(* .zip)中提取相同的文件,但是如果有一种更简单的方法可以使用msdeploy.exe (即仅提取文件)来进行处理,那将是首选。

We have used MSDeploy for 50+ deployments over 3+ years to all environments (including PROD) with great success. 我们已经使用MSDeploy在3年以上的时间里对所有环境(包括PROD)进行了50多次部署,并取得了巨大的成功。 Lex makes a good point in the comment above that Azure uses it as well. Lex在上面的评论中很好地指出了Azure也使用它。

Ultimately it comes down to your situation/business but many shops are using it in PROD. 最终,它取决于您的情况/业务,但是许多商店都在PROD中使用它。

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

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