IIS7 ISAPI过滤器模块& HttpModule事件 - 它们如何排列? [英] IIS7 ISAPI Filter Module & HttpModule Events - How do they line up?

查看:367
本文介绍了IIS7 ISAPI过滤器模块& HttpModule事件 - 它们如何排列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,集成管道模式下的IIS7使用IsapiFilterModule来填充ISAPI过滤器DLL并在过滤器上触发正确的事件,这与经典模式下的IIS或IIS7的早期版本完全不同,因为这意味着HttpModules将关闭在Integrated Pipeline模式下,ISAPI过滤器旁边。

So IIS7 in Integrated Pipeline mode uses a IsapiFilterModule to shim ISAPI filter DLL's and fire off the correct "events" on the filters, which is quite different than previous versions of IIS or IIS7 in classic mode because this means that HttpModules fire off right along side ISAPI filters in Integrated Pipeline mode.

所以有人碰巧知道ISAPI事件是怎样的( http://msdn.microsoft.com/en-us/library/ms524855.aspx )和HttpModule事件( http://msdn.microsoft.com/en-us/library/ms998536.aspx )排队?

So does anyone happen to know how ISAPI events (http://msdn.microsoft.com/en-us/library/ms524855.aspx) and the HttpModule events (http://msdn.microsoft.com/en-us/library/ms998536.aspx) line up?

推荐答案

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

HttpModule events are fired after other filters, according to the MSDN:


此时,IIS开始处理请求的内容。这可以通过ISAPI扩展,CGI应用程序,脚本引擎(如ASP或PERL)或IIS本身来处理静态文件。

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模块事件的顺序此处此处

Order of the http module events you can see here or here

这篇关于IIS7 ISAPI过滤器模块& HttpModule事件 - 它们如何排列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆