Table of Content:
- Building a HTTP Handler
- Why Use Handlers?
- Using a HTTP Handler
- The HttpContext Object
- Configuring the Request
- Request Processing in ASP.NET
- Creating Your Own Handler
- Summary
In this tutorial, Chris Ullman shows you how to build your own HTTP handlers using ASP.NET. HTTP handlers can let you intervene and handle a request for a particular type of page, and make it possible to catch URLs that are submitted by a user and rewrite them in a format required by the web site, to disguise long, cumbersome URLs or to process filetypes not gererally dealt with by the server - for example, custom handling of new XML types.
Chris Ullman is an ex-Wrox Press and Glasshaus author who has spent many years stewing in ASP/ASP.NET, like a teabag left too long in the pot. Coming from a Computer Science background, he started initially as a UNIX/Linux guru, who gravitated towards MS during the summer of ASP (1997). Since then he has written on over 20 books, as lead author for the bestselling Beginning ASP/ASP.NET series, and has contributed chapters to books on PHP, ColdFusion, JavaScript, Web Services, C#, XML and other Internet-related technologies too esoteric to mention, now swallowed up in the quicksands of the dot.com boom. Quitting Wrox in August 2001, he continued life as as a freelance developer and author while helping to bring up his first child, Nye.