Changes to files in the Bin directory of the Web project will trigger an Application_End event, and IIS will recycle threads

Changes to files in the web bin directory will trigger the Application_End event, which will cause Application to re-run, and IIS will recycle the thread.
 
Later, through feedback with the boss, this problem is not the reason why io is slow. Although io is slow, it is not slow to this point. It turns out that my log is written in the bin directory, and the content of iis in the bin directory changes. The web service will be restarted when it is gone, and I keep writing logs to the bin directory, which causes my web service to restart every time I write logs, and the first access to the web service is very slow, and the application needs to be dynamically compiled Generate serialized assemblies, so this causes us to only enjoy the first response speed every time we embrace webservice
---------------------
Author: 95CACA
Source: CSDN
Original: https://blog.csdn.net/caca95/article/details/85284309
Copyright Statement: This article is an original blogger article, please attach a link to the blog post when reprinting!

Guess you like

Origin www.cnblogs.com/masonblog/p/12724130.html