Cover; Contents; Leveraging httpModules for Better ASP.NET Applications; Introduction to httpModules; Use a Custom Module to Configure the Site; Creating a Background Thread Process; Modify Rendered Content; Optimizing the Response Output; Create an IP Filter; Rewrite a Request; A Custom Error Handler; Custom Modules in IIS 7; Summary; About Chris Love; Copyright; Advertisement
Summary
This Wrox Blox explains how to create different types of custom modules for ASP.NET web sites. Custom ASP.NET Modules are a great way to program advanced features to your web site. This Wrox blox discusses the difference between a custom httpModule and the Global.asax file. It also covers the steps in the ASP.NET pipeline. The examples include using a custom module to configure a site's initial settings, a background worker thread, and an IP blocker. Other examples show how to add content to the content being sent to the client, URL Rewriting, and a custom error handler. Table of Contents