- HTTP Handlers
- HTTP Handlers can be used to process custom requests that may not be in the standard supported format like .htm, .aspx, .asmx etc.
- One example will be RSS feed processing .
- The primary job of an Http handler is to produce a http response (not html)
- How to configure HTTP handlers
- HTTP Module
- Modules are called before and after the handler executes.
- Modules enable developers to intercept, participate in, or modify each individual request.
- Modules implement the IHttpModule interface, which is located in the System.Web namespace.
- How to configure HTTP Modules
HTTP Modules and HTTP Handlers
HTTP modules and HTTP handlers are an integral part of the ASP.NET architecture. While a request is being processed, each request is processed by multiple HTTP modules (for example, the authentication module and the session module) and is then processed by a single HTTP handler. After the handler has processed the request, the request flows back through the HTTP modules.