Hook into Application_Start in a HttpModule

Posted by Jakob Gade on Stack Overflow See other posts from Stack Overflow or by Jakob Gade
Published on 2010-05-06T07:04:55Z Indexed on 2010/05/06 7:08 UTC
Read the original article Hit count: 293

Filed under:
|
|
|
|

I’m implementing a simple HttpModule, where I want some code to run when the web application is started. But I’m surprised to find that the Application_Start event I would normally use from Global.asax is not available from a HttpModule. Is that correct, or am I missing something here?

How do I hook into the Application_Start event from an HttpModule?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about httpmodule