我有一个Web应用程序,由于未知原因每隔几分钟重新编译一次,当应用程序达到最大重新编译限制时,每10-15分钟就会重新启动一次应用程序(不是回收)。
在web.config文件中添加了healthMonitoring配置后(根据此article),我可以看到EventLog上的重新编译事件,但不是触发它的内容:
10:00:03 AM Event message: Application compilation is starting.
10:03:44 AM Event message: Application compilation is starting.
10:05:27 AM Event message: Application compilation is starting.
10:08:01 AM Event message: Application compilation is starting.
10:10:48 AM Event message: Application is shutting down. Reason: Maximum number of recompilations was reached.
10:10:48 AM Event message: Application is starting.
10:12:27 AM Event message: Application compilation is starting.
10:14:26 AM Event message: Application compilation is starting.
其他信息:
如何找到触发重新编译的内容?