O'Reilly logo

Pro ASP.NET 4.5 in VB, Fifth Edition by Matthew MacDonald, Adam Freeman, Dan Mabbutt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 15

image

Handlers

In Chapter 14, we showed you how modules can be used to customize the way that a request is handled—they can look at headers, set up state data, authenticate users and even add bits of data to the response. But the job of generating the response is the responsibility of a handler. The lifecycle events, modules and all the preparatory work that goes into processing a request is about locating a handler, giving it the HTTP request and asking it to generate a response. Modules are useful—but the heavy lifting goes on in the handler. In this chapter, we show you how handlers work, demonstrate the different ways that you can create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required