O'Reilly logo

ASP.NET Site Performance Secrets by Matt Perdeck

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

Trimming HTTP pipeline

Some of the ASP.NET features are supported by HTTP modules. These modules are in the pipeline of each request whether you use them or not. It makes sense to remove those modules that you don't need, to remove their overhead.

In the ListHttpModules folder in the downloaded code bundle, a simple website is present that lists all the modules currently in the pipeline and their types. When you've identified a module you don't need, remove it in web.config, as shown in the following:

<system.web>
<httpModules>
<remove name="RoleManager" />
</httpModules>
</system.web>

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