In this series we will be discovering more about ASP.NET 2.0 internals in order to give us a better fundamental understanding of what is happening and why within our web based applications. In the next video, we’ll begin by looking at the entire lifecycle of serving up an ASP.NET 2.0 web page based on a web browser request.
Videos available for this series:
In this brief introductory video, we’ll talk about two items at a very high level … first, we’ll introduce the ideas that will be elaborated on in the remainder of the videos and show where they fit into the overall architecture of ASP.NET 2.0. Secondly, we’ll look at a utility called Reflector, which will allow us to peek at the compiled version of our web pages and discover what exactly the ASP.NET version 2.0 compiler does to our declarative and imperative code.
In this video we provided a look under the hood at how ASP.NET works internally. The benefit of examining this behind-the-scenes information is in knowing why things happen the way they do, when things happen, and where to look when things aren’t working as expected. This video will become a foundation for other discussions over the course of the next several videos and we will constantly be referring back to the request pipeline to show where a given idea or technology maps to the timeline or pipeline of events and objects outlined in this video.
In this video, we want to dive deeper and look at what happens when you design a web page with declarative and imperative code. We look at how a pre-compiled version of a web page is created based on its declarative and imperative code, we looked at how a control tree is generated – and why – and discuss the how the control tree renders HTML back to the requester.
In this video we look at what happens during the major events of the three phases of page construction. ASP.NET allows developers to plug into the life-cycle at key points during the page construction by handling events and this video will explain at a high level the basic course of events that fire during the page’s lifecycle.
Continuing on from lesson 4, this video talks about the application execution pipeline and explains how certain services like session, caching, security, etc. are provided by the application to the page lifecycle.
In this video we dive deep into ASP.NET’s compilation model which has changed dramatically in version 2.0. Specifically we’ll look at the options on the Publish Web Site dialog in Visual Studio, as well as some command line options and demonstrate and explain the ramifications of each choice. This is a crucial topic that, unfortunately, Microsoft’s own documentation obfuscates.