home navigator pointer resources navigator pointer asp tips navigator pointer asp/htmp context switching
The definitive ASP tips page
tips menu | printable single page version

Note: this is my old ASP tips page and is no longer supported. See the new Visualize web site..

ASP Coding for Performance - Avoid overusing HTML/ASP Context Switching

Avoid lots of <% and %> context switches between ASP and HTML in your pages. This slows down the parsing and makes code unreadable. It's much better to group your HTML and ASP into fair sized blocks, thus minimising the amount of context switches required per page.

 

DISCLAIMER: Note these pages are a free resource for anyone wishing to reference them. Although every care is taken to ensure their correctness, the author takes no responsibility for any errors or problems that may occur through their use, or indeed misuse. These pages are copyight of Dave Clarke, Visualize Software Ltd 1997-2000 (all rights reserved).


 


© Copyright Dave Clarke, 1996-2008