Stop WebPage-Processing
<p>I have built an asp.net page that returns an image with <code>Response.BinaryWrite()</code>. This works fine but I have the following quesion.</p>

<p>I call <code>Response.BinaryWrite()</code> in the Page_PreLoad-event. I expect, that asp.net continues with the "normal" execution of the page till to <code>Unload</code> event, doing a lot of stuff that is no more necessary because all desired operation is already done. Am I right, and if yes, is there a possibility to tell asp.net that further processing is no more necessary for the page. </p>

<p><strong>Update:</strong></p>

<p>Thanks for all the answers. As suggested, I have used an ASHX-Handler, it was excactly what I needed. Thanks to all and +1 for all answers of this direction. For all who have the same question as I, the link from David Stratton shows a very simple way of how to do it.</p>
