Handling application-wide events without Global.asax
<p>My project has no "global.asax" for various reasons and I can't change that (it's a component). Also, I have no access to web.config, so an httpModule is also not an option.</p>

<p><strong>Is there a way to handle application-wide events</strong>, like "BeginRequest" in this case?</p>

<p>I tried this and it didn't work, can someone explain why? Seems like a bug:</p>

<pre><code>HttpContext.Current.ApplicationInstance.BeginRequest += MyStaticMethod;
</code></pre>
