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 ContentsIntroduction to httpModules 1How httpModules Are Processed 2Modules versus Global.asax 3A Minimal Custom httpModule 3ASP.NET Page Life Cycle 5Registering a Custom httpModule 7Default httpModules 7Remove Registered Modules 8Use a Custom Module to Configure the Site 9Creating a Background Thread Process 11Modify Rendered Content 13Optimizing the Response Output 16Create an IP Filter 22Rewrite a Request 25A Custom Error Handler 28Custom Modules in IIS 7 32Summary 35About Chris Love 36Usage Rights for Wiley Wrox BloxAny Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:Are entitled to three downloadsAre entitled to make a backup copy of the file for your own useAre entitled to print the Wrox Blox for your own useAre entitled to make annotations and comments in the Wrox Blox file for your own useMay not lend, sell or give the Wrox Blox to another userMay not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access itMay not copy the Wrox Blox file other than as allowed aboveMay not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from WileyIf you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).