tags:

views:

110

answers:

1

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...

A: 

There is many reasons for this delay, but without code i can't help you.

Try ANTS Performance profiler (14-days trial). It will show you what part of code consumes most time.

Jan Remunda
But there is no code in between context.RewritePath and the first line of the Page_Load event of the page that is being rewritten to. Does ANTS also monitor IIS7?
Robby White