标签: c# asp.net-mvc
我有ASP MVC应用程序。在Global.aspx中,我有Application_Start()和Application_End(对象发送者,EventArgs e)。
我知道当web.config更改,站点停止/重新启动等时,可以触发Application_End。但是我想记录到底是什么触发了Application_End。 sender保留了详细信息,但是我找不到应该将其转换为哪个类。
sender