Suppose that both FirstModule and SecondModule handle the Application_BeginRequest event. Will it execute in the order defined in the
FirstModule
SecondModule
Application_BeginRequest
According to this forum post, HttpModules are executed in the order in which they were registered. This makes sense to me, because otherwise the and directives would also not work as expected, e.g. when used like this: