M
mroberts
I'm writing a web application that has several pages and each page has
multiple levels of custom controls (ascx's). I'm noticing a
performance issue when one of the pages loads. It takes about 60
seconds to load. I have put in trace statements in almost every
method of the page and its child controls, but there are 30 seconds
that I can't track down.
As I understand .NET when I click on a link on one page, it sends the
request to the server to display another page. In my code there are
Init, Load, and PreRender event handlers for the page and most of the
child controls. As I said, I have put trace statements everywhere,
but there are still 30 seconds elapsing before it ever gets to my
first Init event trace statement.
My question is "what, if anything, happens BEFORE the Init event?" Or
is there something happening to Unload the previous page that I don't
know about. I have just never seen any resource that explains in
detail the events that happen during a page's lifetime until it's
served to the client.
Any help would be greatly appreciated. Taking over 30 seconds to load
a page isn't going to fly with the customer!
Thanks!
Mark Roberts
Delphia Consulting
(e-mail address removed)
multiple levels of custom controls (ascx's). I'm noticing a
performance issue when one of the pages loads. It takes about 60
seconds to load. I have put in trace statements in almost every
method of the page and its child controls, but there are 30 seconds
that I can't track down.
As I understand .NET when I click on a link on one page, it sends the
request to the server to display another page. In my code there are
Init, Load, and PreRender event handlers for the page and most of the
child controls. As I said, I have put trace statements everywhere,
but there are still 30 seconds elapsing before it ever gets to my
first Init event trace statement.
My question is "what, if anything, happens BEFORE the Init event?" Or
is there something happening to Unload the previous page that I don't
know about. I have just never seen any resource that explains in
detail the events that happen during a page's lifetime until it's
served to the client.
Any help would be greatly appreciated. Taking over 30 seconds to load
a page isn't going to fly with the customer!
Thanks!
Mark Roberts
Delphia Consulting
(e-mail address removed)