I click on a link from one page that redirects to another page (Response.Redirect (page.aspx)).
The browser takes about 30 seconds and displays the page. I am trying to track why the page has taken so long to load.
There are two other custom controls on the page.
I commented out lines of code for each and both controls, and the page still takes about 30 seconds to load.
I set breakpoints in the Page_Load event for each of the controls, as well as page.aspx, and it will also take about 30 seconds after clicking the link from Response.Redirect to the first breakpoint.
I downloaded the task manager and clicked the link. I notice that aspnet_wp.exe and csc.exe are executing during this 30 second time frame.
I am wondering if there are any kind of code code synanigans when I wait for the page to load.
This only happens the first time you click on a link. Subsequently, it is not so slow.
I searched googled, but there is not much useful information about this. Does anyone have any ideas?
Thank,
--- Dan ---
source
share