Research & Development for 3D & the Web

Understanding ASP.NET Dynamic Compilation Pages

by on Dec.30, 2011, under Web Programming

When you request and ASP.NET page, ASP.NET framework checks for a .NET class that corresponds with the page. Should it not be able to find one, the framework will automatically compile the page into a new class which gets stored in:

\WINDOWS\Microsoft.NET\Framework\v4.0.30128\Temporary ASP.NET files

This means that it only needs to compile the first time (or after any source code files are changed) and then it will return the pre-compiled page to any requesting the page afterwards from that point onwards until the source code for the application is modified.

This is called Dynamic compilation and is what allows ASP.NET to support thousands of simultaneous users. You can also turn off this dynamic compilation option if you need to. This can’t be done on pages which include server-side code but can contain ASP.NET controls and expressions.

 

:.net, ASP.NET

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Log In