Hi,
Your pages are made from two files ASPX that holds controls definitions
and Code behind ASPX.cs or .vb that holds the code you wrote to handle
page events. When you compile your application all the code behind files
are compiled to one DLL that you can find in Bin directory of your
application. Now, when request to certain page arrive ASP.NET create
assembly from ASPX file (just for the first time) or used existing one.
ASPX assembly contains a class that derived from page code behind class.
ASPX assembly is located under "temporary ASP.NET files" folder. That
assembly that ASP.NET generate for ASPX file actually starts the page
life cycle by creating all the controls and then ASP.NET start to call
page events and to process the code that you wrote in those events.
For the first time that .net calls one of your assemblies function,
which contain IL instructions, .net compile those IL instructions into
machine code and change the function pointer to the location in memory
where x86 machine code exist. Form that point on every call to a
function redirect to x86 machine code flavor of a function. That process
cal JIT.
Natty Gur[MVP]
blog :
http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377