【发布时间】:2010-03-11 18:05:52
【问题描述】:
假设FirstModule 和SecondModule 都处理Application_BeginRequest 事件。它会按照 web.config 中定义的顺序执行吗?
<httpModules>
<add type="MyApp.FirstModule, MyApp" name="FirstModule"/>
<add type="MyApp.SecondModule, MyApp" name="SecondModule"/>
<add type="OtherApp.OtherModule, OtherApp" name="OtherModule"/>
</httpModules>
还有其他方式可以指定顺序吗?
【问题讨论】:
标签: asp.net web-config httpmodule