简体   繁体   English

IIS何时重启网站?

[英]When will the IIS restart the website?

I got some information form restart website in IIS when changing values in the appSettings of the web.config so now I know IIS will restart the application poll not website. 在web.config的appSettings中更改值时,在IIS中获得了重新启动网站的一些信息所以现在我知道IIS将重新启动应用程序轮询而不是网站。

As I know when I update the web.config the IIS would restart the application pool but sometimes I didn't update the web.config but after my deploy the website seems like be restarted. 据我所知,当我更新web.config时,IIS会重新启动应用程序池,但有时我没有更新web.config但是在部署之后,网站似乎重新启动了。 Why? 为什么? because I update the website.dll or some other reason and how does IIS works to know the dll was updated and it should use the new dll to serve the user? 因为我更新了website.dll或其他一些原因,IIS如何知道dll已更新,它应该使用新的dll为用户服务?

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

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