ASP.NET compilation versus ASP interpretation May 16, 2008Posted by fofo in .NET, asp.net, asp.net 2.0, general .net.
One thing i usually mention in my classes when introducing ASP.NET is that, “ASP.NET pages are compiled”.
Most people ask why is that so important compared with classic ASP page interpretation.
In classic ASP when a page was requested, the server reads the code into the memory. Then tries to figure out the way to execute the code.
Pages are compiled in ASP.NET. The server needs to figure out how to execute the code only once. The code is compiled into binary files which can be run again and again without any overhead. This provides a huge performance boost in our applications.