PC Review


Reply
Thread Tools Rate Thread

ASP.Net 2.0 Startup time

 
 
Wannabe
Guest
Posts: n/a
 
      17th Mar 2008
Is it typical for an 2.0 application take 15 - 20 seconds to start up, after
a long period of inactivity? If not, what can I look at to get it to start
quicker, the first time it is used?
 
Reply With Quote
 
 
 
 
Mark Rae [MVP]
Guest
Posts: n/a
 
      17th Mar 2008
"Wannabe" <(E-Mail Removed)> wrote in message
news:C55253EA-4035-4FDA-A905-(E-Mail Removed)...

> Is it typical for an 2.0 application take 15 - 20 seconds to start up,
> after
> a long period of inactivity?


It can be...

When the last remaining session ends, the Application_End event fires and
the web application shuts down to free up its resources on the webserver -
there's a bit more to it than that, but that is essentially what happens...

> If not, what can I look at to get it to start quicker, the first time it
> is used?


http://www.google.co.uk/search?sourc...ion+keep+alive


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

 
Reply With Quote
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      17th Mar 2008
Hello Wannabe,

Do u use precompiled site?! (Aspnet_compiler.exe)

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


W> Is it typical for an 2.0 application take 15 - 20 seconds to start
W> up, after a long period of inactivity? If not, what can I look at to
W> get it to start quicker, the first time it is used?
W>


 
Reply With Quote
 
Wannabe
Guest
Posts: n/a
 
      17th Mar 2008
No, we do not. Since you ask, I'm guessing that it would be a good thing.

"Michael Nemtsev [MVP]" wrote:

> Hello Wannabe,
>
> Do u use precompiled site?! (Aspnet_compiler.exe)
>
> ---
> WBR,
> Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo
>
>
> W> Is it typical for an 2.0 application take 15 - 20 seconds to start
> W> up, after a long period of inactivity? If not, what can I look at to
> W> get it to start quicker, the first time it is used?
> W>
>
>
>

 
Reply With Quote
 
George Ter-Saakov
Guest
Posts: n/a
 
      17th Mar 2008
There are several thing to keep in mind with .NET

1. If application is not used it will be unloaded. You can change this
behavior in you .NET pool configuration. It will be in IIS Management. (PS:
It's not there in Windows XP so do not look, It's in win2003 IIS management
though).

2. By default .NET recycles the application pool every 24 hours. Again, you
can change it in IIS Management console)

3. Precompile your application. That would save compilation time...

George.


"Wannabe" <(E-Mail Removed)> wrote in message
news:16926603-5233-4D0C-A484-(E-Mail Removed)...
> No, we do not. Since you ask, I'm guessing that it would be a good thing.
>
> "Michael Nemtsev [MVP]" wrote:
>
>> Hello Wannabe,
>>
>> Do u use precompiled site?! (Aspnet_compiler.exe)
>>
>> ---
>> WBR,
>> Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
>>
>> "The greatest danger for most of us is not that our aim is too high and
>> we
>> miss it, but that it is too low and we reach it" (c) Michelangelo
>>
>>
>> W> Is it typical for an 2.0 application take 15 - 20 seconds to start
>> W> up, after a long period of inactivity? If not, what can I look at to
>> W> get it to start quicker, the first time it is used?
>> W>
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook hangs up on startup time and time again mystery Microsoft Outlook Discussion 1 22nd Feb 2010 04:54 PM
Startup lag time Gert Leunen Windows XP Embedded 2 5th Jul 2007 12:57 PM
Startup time Adrian Dams Windows XP General 9 3rd Oct 2005 06:00 PM
Startup hangs on first time each time Col See Windows XP Help 1 17th Apr 2005 11:35 AM
XP/he - Startup Time Scott Windows XP New Users 3 10th Feb 2004 03:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.