T
Tony Johansson
Hello!
I read in a book and the text say the following.
"Let's look at a typical Web request from a browser to show how the ASP.NET
runtime goes into action. The client request a file, for example
default.aspx from the server. All ASP.NET Web pages usually have the file
extension .aspx. Because this file extension is registered with IIS, or
known by the Visual Web Devepoper Web server, the ASP.NET runtime and the
ASP.NET worker process get into the picture. With the first request to the
file default.aspx, the ASP.NET parser is started, and the compiler compiles
the file together with a C# file that is associated with the .aspx file and
creates an assembly.
Then the assembly is compiled to native code by the JIT compiler of the
..NET runtime. The assembly contains a Page class that is invoked to return
HTML code to the client. then the Page object is destroyed. However, the
assembly is kept for the next request, so with the second request is is not
decessary to compile the assembly again."
What I have some difficulty to understand is the connection between the
assembly that is mentioned at the end in the above text
and the code that I can debug on the server. ?
I mean the code in code behind file.
//Tony
I read in a book and the text say the following.
"Let's look at a typical Web request from a browser to show how the ASP.NET
runtime goes into action. The client request a file, for example
default.aspx from the server. All ASP.NET Web pages usually have the file
extension .aspx. Because this file extension is registered with IIS, or
known by the Visual Web Devepoper Web server, the ASP.NET runtime and the
ASP.NET worker process get into the picture. With the first request to the
file default.aspx, the ASP.NET parser is started, and the compiler compiles
the file together with a C# file that is associated with the .aspx file and
creates an assembly.
Then the assembly is compiled to native code by the JIT compiler of the
..NET runtime. The assembly contains a Page class that is invoked to return
HTML code to the client. then the Page object is destroyed. However, the
assembly is kept for the next request, so with the second request is is not
decessary to compile the assembly again."
What I have some difficulty to understand is the connection between the
assembly that is mentioned at the end in the above text
and the code that I can debug on the server. ?
I mean the code in code behind file.
//Tony