为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

huangapple go评论50阅读模式
英文:

Why is WEBSITE_ENABLE_SYNC_UPDATE_SITE part of App Service Configuration

问题

由于某种原因,我们所有的Azure应用服务配置都有这个WEBSITE_ENABLE_SYNC_UPDATE_SITE = true,我似乎无法找出为什么/如何设置它。我没有明确将其添加到配置中,我认为这是最近的更改,之前没有这个。也许发布流水线正在添加它们,但在那里找不到任何关于WEBSITE_ENABLE_SYNC_UPDATE_SITE的参考。
有人知道Azure是否出于某种原因开始将其添加到配置中吗?

谢谢

英文:

For some reason, all our Azure app services configuration have this WEBSITE_ENABLE_SYNC_UPDATE_SITE = true and I cannot seem to see why/how it is set. I have not explicitly added it to the configuration, and I believe it is a recent change, which was not there previously.
Maybe the release pipeline is adding them, but cannot find any references there to WEBSITE_ENABLE_SYNC_UPDATE_SITE.
Does anyone know if Azure for some reason has begun adding it to configuration?

Thanks

答案1

得分: 1

根据MSDOCGitHub的说明,WEBSITE_ENABLE_SYNC_UPDATE_SITE是在使用Azure DevOpsARM模板部署应用程序时配置的默认设置。

默认情况下,该值设置为1。

当我们将应用程序设置为WEBSITE_ENABLE_SYNC_UPDATE_SITE为1时,除非所有应用程序设置都已更新,否则应用程序将不会继续部署过程。

  • 一旦所有应用程序设置都已更新,应用程序将重新启动并继续部署过程。

  • 我尝试使用MSDoc将Web应用程序部署到Azure App Service,使用ARM模板。

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

  • 我没有找到添加在应用程序设置中的WEBSITE_ENABLE_SYNC_UPDATE_SITE设置。

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

  • 我还尝试了Azure DevOps管道。

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

  • 您可以在GitHub上看到类似的问题,该问题尚未解决。
  • 请关注我提出的GitHub问题以及SO线程以获取更多详细信息。
英文:

As per the MSDOC and GitHub, WEBSITE_ENABLE_SYNC_UPDATE_SITE is the default setting configured while deploying the application using Azure devops or by ARM template.

By default the value is set to 1.

When we have App setting WEBSITE_ENABLE_SYNC_UPDATE_SITE as 1, the application will not continue with the deployment process unless and until all the application settings are updated.

  • Once all the app settings are updated, the app will restart and continues with the deployment process.

  • I have tried to deploy the web App to Azure App service with ARM template using the MSDoc.

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

  • I didn't find and app setting with WEBSITE_ENABLE_SYNC_UPDATE_SITE added in the app settings.

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

  • I have tried with Azure Devops pipeline as well.
    为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

为什么WEBSITE_ENABLE_SYNC_UPDATE_SITE是App Service配置的一部分?

  • You can see the similar issue in GitHub which is not yet resolved.
  • Follow the GitHub issue which I have raised and SO Thread for more details.

huangapple
  • 本文由 发表于 2023年5月10日 17:35:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/76216903.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定