[英]Publish single project from Azure Dev Ops to Azure App Service Environment
我們有一個應用程序服務環境https://docs.microsoft.com/en-us/azure/app-service/environment/intro我已經設置了一個應用程序,但我很難從我的機器上發布(我已經將 URL 添加到我的 HOSTS 文件中,我可以在瀏覽器中看到它)並且看不到從 Azure Dev Ops(我的首選選項)發布它的清晰方法。
我很高興被指向 TFM,但我發現的所有內容都已過時/不接近我在 Dev Ios 或 Visual Studio(2019 / 2019 預覽版)中看到的選項。
編輯:還要注意這是一個多項目解決方案(各種控制台應用程序,一個 API 和一個網站,它是 API / 我要發布的網站)
編輯 2:所以“它總是 DNS”這是一個 DNS 問題,試圖從 Visual Studio 發布
如果您使用 Visual Studio,請參閱: Deploy an ASP.NET Web App in Azure App Service 。
If you use Azure pipeline, this doc: Deploy an Azure Web App provides a tutorial to build web app and then deploy to an Azure Web App. 另請參閱此視頻以獲取詳細指導:使用 VSTS(快速入門)構建並部署到 Azure Web 應用程序。
BTW, there are a few useful tools: Azure DevOps Labs , Azure DevOps Services Demo Generator , and DevOps Starter which will help you to get started with Azure DevOps services to automate software delivery and meet business needs.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.