C H A P T E R  5

Working with Context and Events

The ASP.NET processing model depends on some behind-the-scenes features to render pages. These are the ASP.NET event model and a set of contexts. The event model is used to indicate the progress of the rendering process as it passes through different stages. You caught a glimpse of this when we used the Page_Load method in the code-behind classes in the previous chapter. The context objects give us information about the request from the client browser and let us configure the response that will be returned. We took advantage of one of the context features when we used the Response.Write method in code blocks in the previous chapter.

In this chapter, we’ll look at the event model and the context ...

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.