O'Reilly logo

C#® Developer's Guide to ASP.NET, XML, and ADO.NET by Chris Kinsman, Jeffrey P. McManus

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

HttpHandlers

Whereas HttpModules are designed to participate in the processing of a request, HttpHandlers are designed to be the endpoint for the processing of a request. As mentioned earlier, an HttpHandler provides a way to define new page processors that handle new types of programming models. Table 8.1 shows the HttpHandlers provided by ASP.NET.

Table 8.1. Built In ASP.NET HttpHandlers
HttpHandler Purpose
PageHandlerFactory Processes .aspx pages.
WebServiceHandlerFactory Processes .asmx XML Web services.
HttpForbiddenHandler Yields an error message indicating that a type of page is not in service. By default, all .asax, .vb, .cs, .ascx, .config, .csproj, .vbproj, and .webinfo files are mapped to this in machine.config.
StaticFileHandler

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