Web应用程序服务何时需要重启? [英] When is web app service restart required?

查看:76
本文介绍了Web应用程序服务何时需要重启?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在代码更改部署过程中,使用部署槽在什么条件下需要重新启动应用程序?

During a code change deployment, using Deployment Slots, under what conditions will an application restart be required?

也就是说,如果我更改了.config文件或Azure中的应用程序设置,或者如果更改了连接字符串等,或者进行了其他各种类型的更改,则哪些更改需要重新启动?

That is, if I change app settings in .config file or in Azure, or if I change connection strings, etc., or do various other types of changes, which ones will require a restart?

推荐答案

codequestor,默认情况下,交换部署插槽不应重新启动站点.我们建议客户在部署插槽中暂存其站点,以免重新启动.

codequestor, by default swapping the deployment slot should not restart the site. We suggest customers to stage their site in the deployment slot to avoid reboots.

以下更改将自动导致站点重新启动.目标是在站点处于部署槽中时对站点进行这些更改,然后将其交换到生产中,以避免停机.

The below changes will automatically cause a site reboot. The goal would be to make these changes to the site while it's in the deployment slot, then swap it to production to avoid any downtime.

  • web.config文件更改
  • 连接字符串更改

请让我们知道您的进程中是否还有其他设置令人担心触发网站重启.

Please let us know if there are other settings in your process that you are worried about triggering a site restart.


这篇关于Web应用程序服务何时需要重启?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆