Author: im1dermike | Posted on: 4/22/2010 8:59:34 AM | Views : 1127

There is a website that I've programmed that sometimes takes a long time to load.  I will click on a browser bookmark to load the page which should take me to a login page.  The code that the Page_Loads for the MasterPage and the initial Login page contain is minimal; no service, database, etc. executions.  I even just commented everything out and the problem remains.  Sometimes it takes 5/10/maybe more seconds for the simple Login page to load.  I'm trying to figure out what the issue is, but I'm having a hard time.  When I put breaks on the Page_Loads and debug, it loads immediately.  Then, seemingly randomly sometime after that, it will again load slowly.
It wouldn't seem like any of my code is the issue since, when I debug, it loads quickly.  I'm not calling any services or database methods so, AFAIC, that can't be the issue.  I separated all of my websites in my IIS to use their own app pool the other da ...

Go to the complete details ...