iis-7 - IIS7 ISAPI 过滤器模块和 HttpModule 事件 - 它们如何排列?

标签 iis-7 httpmodule isapi integrated-pipeline-mode

因此,集成管道模式下的 IIS7 使用 IsapiFilterModule 填充 ISAPI 过滤器 DLL 并在过滤器上触发正确的“事件”,这与经典模式下的 IIS 或 IIS7 的早期版本完全不同,因为这意味着 HttpModules 会立即触发集成管道模式下的 ISAPI 过滤器。

那么有没有人碰巧知道 ISAPI 事件( http://msdn.microsoft.com/en-us/library/ms524855.aspx )和 HttpModule 事件( http://msdn.microsoft.com/en-us/library/ms998536.aspx )是如何排列的?

最佳答案

根据 MSDN,HttpModule 事件在其他过滤器之后触发:

At this point, IIS begins processing the substance of the request. This can be done by an ISAPI extension, a CGI application, a script engine such as ASP or PERL, or by IIS itself for static files.



你可以看到的http模块事件的顺序herehere

关于iis-7 - IIS7 ISAPI 过滤器模块和 HttpModule 事件 - 它们如何排列?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2474358/

相关文章:

asp.net - 使用 IIS 而不是 IIS Express 会加快本地运行的 VS2013 WebAP 应用程序的启动时间吗?

asp.net - Web应用程序中包含的声音无法在IIS中播放

WCF (.NET 4.0) + IIS 7 + Windows 身份验证错误 - "service require Windows Authentication but it is not enabled for the IIS application "

c# - 如何处理 ASP.NET 模块中的应用程序启动事件

c# - 以编程方式更改页面的区域设置(语言)

iis-7 - 虚拟文件夹中的 ASP.NET 应用程序使用网站根文件夹中应用程序的 web.config

asp.net - ASP.Net MVC 中的 HTTP 模块和 HTTP 处理程序?

.net - WCF:处理程序 "svc-ISAPI-4.0_32bit"有一个坏模块 "IsapiModule"

IIS 8.5 服务 dll 用于下载而不是执行

delphi - 如何从 IIS ISAPI 的 GetExtensionVersion 中获取我网站的 URL?