In this little dashboard thing, we will look at web requests, both successful and failed. We will perform some minor things for us to be able to do this in a very naive way, without having to flesh out a full mechanism to deal with error situations. Let's start by enabling all requests even static resources, such as HTML files, to run through all HTTP modules. A word of warning: there are performance implications of putting all requests through the managed pipeline, so normally you wouldn't necessarily want to do this on a production system, but for this sample, it will be fine to show the concepts. Open Web.config
in the project and add the following code snippet within the <co
nfiguration>
tag:
<system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer>