Structure of Pre–ASP.NET Pages

As you will soon see, the structure of a page in previous versions of ASP is quite different from that of an ASP.NET page. Pre–ASP.NET pages are severely lacking in the structure department. Although there are a few ways to make your ASP code slightly structured, several lines become blurred. This section talks about a few of the common problems that developers run into when developing with previous versions of ASP.

The Great Monolith

So how do you currently write ASP pages? Well, if you’re anything like us—and let’s hope that you’re not, in some respects—your ASP pages have the structure of a 50-story skyscraper made out of Popsicle sticks. Now, don’t get us wrong: A certain degree of structure can be attained with ...

Get Debugging ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.