asp.net handle page early?
<p>In my <strong>Application_BeginRequest</strong> I have a list of things I check for rewriting purposes. At the very end I rewrite all paths to default.aspx which then simply has the following</p>

<pre><code>&lt;%@ Page Language="C#" EnableSessionState="False"%&gt;
&lt;%@ Import Namespace="MyWebsite"%&gt;
&lt;% PageRequest.WritePage();%&gt;
</code></pre>

<p>There probably no (aka nearly nonexistent) overhead but I'll ask anyways. Instead of rewriting, can I just call <strong>WritePage</strong> instead?</p>
