Groups | Blog | Home
all groups > asp.net > march 2004 >

asp.net : Looong start time for ASP.NET application?!


CBN Media
3/8/2004 11:10:06 PM
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

Søren_Lund_Jensen
3/9/2004 5:41:22 AM
[quoted text, click to view]

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
Cezar
3/9/2004 7:21:07 PM
It usually happens every time I restart my development pc.

Ceza
Søren_Lund_Jensen
3/10/2004 12:43:41 AM
[quoted text, click to view]

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
AddThis Social Bookmark Button