Managing Request Execution

In the last few chapters, we have shown you how the ASP.NET Framework pushes a request through a handling process, triggering events so that different components can deliver their functionality.

In this chapter, we are going to show you techniques for disrupting the normal flow of a request. There are good reasons for wanting to disrupt the flow—to direct the user to another page, for example, or to pre-empt the default handler selection process for selected requests. Each of the techniques we describe changes some aspect of the way that the request is handled and we explain the use of each one, the reasons ...

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.