【问题标题】:How deploy Web application in Azure VM using Visual studio online如何使用 Visual Studio Online 在 Azure VM 中部署 Web 应用程序
【发布时间】:2015-10-07 09:51:37
【问题描述】:

我对在线视觉工作室很陌生。它是 POC 的一部分。我试图在 Azure 中部署 Web 应用程序。我可以在 azure 网站中成功部署 Web 应用程序。后来我创建了 Azure 虚拟机 (VM) 并尝试将应用程序部署到 VM。但我不能。我已经阅读了一些博客,但无法弄清楚如何使用 Visual Studio Online 部署到 VM。我能够使用 Visual Studio 2015 将应用程序发布到 Azure VM。但无法通过 Visual Studio Online 进行部署。

我正在使用构建定义。请帮助我使用 VSO 在 Azure VM 中配置部署。

【问题讨论】:

    标签: visual-studio azure


    【解决方案1】:

    请检查在 Azure 中使用 DevOps 项目是否有助于满足您的要求:

    使用 Azure DevOps Projects 将 ASP.NET 应用部署到 Azure 虚拟机:https://docs.microsoft.com/en-us/azure/devops-project/azure-devops-project-vms

    根据您正在构建的应用程序类型,您可以选择目录中提到的Build 任务之一。然后,使用合适的Release 任务继续部署。以上教程使用Azure Resource Group Deployment任务。

    希望这会有所帮助!

    【讨论】:

      猜你喜欢
      • 2023-03-05
      • 1970-01-01
      • 2015-04-24
      • 1970-01-01
      • 2017-11-05
      • 1970-01-01
      • 1970-01-01
      • 2016-01-30
      • 2016-02-17
      相关资源
      最近更新 更多