Chapter 18. Custom Handlers

After completing this chapter, you will be able to

  • Recognize the role of custom handlers in ASP.NET

  • Write custom binary handlers

  • Write just-in-time compiled custom handlers

  • Let IIS and ASP.NET know about your custom handler

This chapter covers writing custom HTTP handlers. In Chapter 2 we saw the ASP.NET pipeline. Remember that the endpoint of all requests handled by ASP.NET is always an implementation of IHttpHandler.

ASP.NET includes several classes capable of handling requests in the most common ways. For example, the Page class handles requests by interpreting ...

Get Microsoft® ASP.NET 2.0 Step By Step 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.