Using the new ASP.NET feature of "Code Behind" to seperate layout from content.In the previous article I introduced web forms, this article progresses the example to show how to seperate the logic into file that sits behind the layout to seperate code from design.Much is made of ASP.NETs new object oriented abilities, and code behind shows a useful way of exploiting this. Effectively what you are doing is creating a class for the page to inherit from....
By utilizing ODP.NET, Oracle database, and really very little effort you also can store images as a Blob for convenient storage and simple categorization....
The code below shows "Utility Belt" grabbing the content of a URL and the second example shows the same thing with caching applied. Here is the standard URL scraper....