CHAPTER 13

image

Lifecycles and Context

We started this part of the book with a chapter on Web Forms to set a foundation for diving into the detail of how ASP.NET Framework handles requests. In this chapter, we start our exploration of how the ASP.NET Framework defines lifecycles for web applications and the requests that it receives. An event is a message that is sent to some part of our application to indicate that something important has happened. ASP.NET defines a wide range of events to signal progress through the different lifecycle stages. We explain each of these events and show you how to use them to perform actions at key moments and take ...

Get Pro ASP.NET 4.5 in C#, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.