Stopwatch Threshold Logging for ASP.NET

added by BucketSoft
4/11/2010 8:12:50 PM

0 Kicks, 70 Views

Intermittent performance problems are annoyingly difficult to diagnose. The idea with this logger is to time the ASP.NET page lifecycle from start to finish, and if it exceeds a certain threshold, then log it. The advantage of this approach is that it's not going to waste processing time logging the stuff I don't care about.