Populer Topics

Web Contents And Pages

Strangely enough, when you create an ASP .NET page, you are actually creating the source code for a .NET class. You are creating a new instance of the System.Web.UI.Page class. The entire contents of an ASP .NET page, including all script and HTML contents, are complied into a .NET class.

When you request an ASP .NET page, the ASP .NET Framework checks for a .NET class that corresponds to the page. If a corresponding class does not exits, the Framework automatically complies the pages into a new class and stores the complied class in the Temporary ASP .NET files folder located at the following path.

\WINDOWS\Microsoft.NET\Framework\[version]\Temporary ASP .NET Files.

The Next time anyone request the same page in the future, the page is not complied again. The previously complied class is executed and the result are returned to the browser.


Web Contents And Pages