Looong start time for ASP.NET application?!

  • Thread starter Thread starter CBN Media
  • Start date Start date
C

CBN Media

Hi,

I created an application which asks for login info for displaying a datagrid
from an XML file.
It has a simple Forms authentication method with user/pass hardcoded for the
moment.

The problem that I have is that each time I call the application in the
browser (http://localhost/WebApp) it takes about 45 sec until the
default.aspx page is shown, default page that contains only an image that
link to the datagrid page.
The XML file is small and is read when the datagrid page is called so this
is not a reason for the delay at the start up.

I know it takes some time first time you call an ASP.NET app but 45 sec for
a simple page is quite long.

Any ideas what it might be?

Thank you,
Cezar
 
CBN said:
I created an application which asks for login info for displaying a
datagrid from an XML file.
It has a simple Forms authentication method with user/pass hardcoded
for the moment.

The problem that I have is that each time I call the application in
the browser (http://localhost/WebApp) it takes about 45 sec until the
default.aspx page is shown, default page that contains only an image
that link to the datagrid page.
The XML file is small and is read when the datagrid page is called so
this is not a reason for the delay at the start up.

Does this happen every single time you access the page or only after
you have deployed new DLLs? ASP.NET loads the DLLs into memory when the
first page request occurs. This usually takes some time. Sure that's
not it?
 
Cezar said:
It usually happens every time I restart my development pc.

In that case that's how it's supposed to happend. It happens very time
the DLLs are loaded into memory. Which would happen after you restart
your PC.
 
Back
Top