Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

ASP.Net 2.0 Startup time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wannabe - 17 Mar 2008 13:12 GMT
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?
Mark Rae [MVP] - 17 Mar 2008 13:22 GMT
> 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?sourceid=navclient&hl=en-GB&ie=UTF-8&rlz=1T4GZEZ_
en-GBGB252GB252&q=%22ASP%2eNET%22+application+keep+alive


Signature

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

Michael Nemtsev [MVP] - 17 Mar 2008 13:28 GMT
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>
Wannabe - 17 Mar 2008 15:26 GMT
No, we do not. Since you ask, I'm guessing that it would be a good thing.

> Hello Wannabe,
>
[quoted text clipped - 11 lines]
> W> get it to start quicker, the first time it is used?
> W>
George Ter-Saakov - 17 Mar 2008 15:47 GMT
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.

> No, we do not. Since you ask, I'm guessing that it would be a good thing.
>
[quoted text clipped - 14 lines]
>> W> get it to start quicker, the first time it is used?
>> W>

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.