Abstract
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 and use them, and show you how to take control of the way that handlers are selected and created.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Dan Mabbutt
About this chapter
Cite this chapter
Mabbutt, D., Freeman, A., MacDonald, M. (2013). Handlers. In: Pro ASP.NET 4.5 in VB. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4354-0_15
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4354-0_15
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4353-3
Online ISBN: 978-1-4302-4354-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)