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>