I have a ASP .NET 3.5 website running on IIS7 on a Windows 2008 server, that uses a HttpModule to rewrite paths, for example www.site.com/robby will get rewritten to www.site.com/item.aspx?id=123.
I have a performance problem on sign in as FireBug reports a 15-25 second "waiting for response", however is does speed up to a couple of seconds if I sign out and sign in again in the same session. So after ruling out SSL and database work I logged the code and discovered that the time gap is between the RewritePath finishing page load event starting, there is no code in between.
So that only leaves the IIS7 pipeline or some bizarre application pool start up issue. What I am lacking in this area is a tool that can trace what the pipeline is actually doing during this time or waiting on. Help...