jump to navigation

ASP.NET compilation versus ASP interpretation May 16, 2008

Posted by fofo in .NET, asp.net, asp.net 2.0, general .net.
trackback

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.

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: