Skip to main content

Handlers

  • Chapter
  • First Online:
Book cover Pro ASP.NET 4.5 in VB

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics