我知道 Global.asax
具有在特定时间为应用程序触发的事件。但是我需要一个 event
每次应用程序收到请求时都会触发它。
最佳答案
在 Global.asax
事件中,每次发出页面请求时都会触发 Application_BeginRequest
。
关于asp.net - 在 ASP.NET 中每次触发哪个事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5910466/
我知道 Global.asax
具有在特定时间为应用程序触发的事件。但是我需要一个 event
每次应用程序收到请求时都会触发它。
最佳答案
在 Global.asax
事件中,每次发出页面请求时都会触发 Application_BeginRequest
。
关于asp.net - 在 ASP.NET 中每次触发哪个事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5910466/
相关文章:
http - 如何将 URL 中的 HTTPS 替换为 HTTP?
asp.net - 内容处置 :What are the differences between "inline" and "attachment"?
java - java - 如何检查按下的键是否是Java KeyListener中的箭头键?
c# - 确定global.asax中的request.islocal
C# Backgroundworker 和 Twincat,如何在工作线程内触发通知事件
c# - Application_AcquireRequestState 未执行
.net - 如何获得解决方案的依赖链和成员 Hook 的可视化表示?
asp.net - 用于我的 ASP.NET 4.5 Web 应用程序的 MySQL 5.6 全文搜索与 ElasticSearch