Hello everyone,
in order to estimate the execution time of the requests sent to my mvc applications, i've been using log4net to log the time elapsed in the EndRequest event of global.asax for my MVC application. However, the EndRequest is called for every request, including the resources (css, images); i'd prefer to be able and distinguish between the two kinds of requests.
Is there a way to separate routed requests from static content requests? Should i abandon this hooking spot and time the execution at another point in the code?