ACBurk
ACBurk

Reputation: 4428

Automatically start up ASP.NET app pool?

Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load?

Upvotes: 2

Views: 1903

Answers (6)

Doug
Doug

Reputation: 6518

If you're using IIS 7 there is an IIS plugin call Application Warm Up that will help

I've written a blog post about my experiences using it here (don't know if i'm allowed to post to my own content?):

http://www.diaryofaninja.com/blog/2010/05/06/keep-your-aspnet-websites-warm-and-fast-247

Upvotes: 1

Alex Angas
Alex Angas

Reputation: 60058

SharePointer Joel Oleson (previously of Microsoft) has a warmup script available at his old MS blog. Search for asp.net warm up scripts for many more.

Typically the application pool recycles overnight. So you can run this script as a scheduled task before people come into work and there will be no need for people to wait.

Upvotes: 2

Kusek
Kusek

Reputation: 5384

You can try Application Pool Recycle Utility for SharePoint Developers but the Creator not recommend it for the Production Sites.

Upvotes: 0

Fredrik Mörk
Fredrik Mörk

Reputation: 158379

I have sometimes used a VB-script that requests a page, and set that up to run as a scheduled job. Works perfectly well, and is set up in a couple of minutes.

Upvotes: 0

Per Erik Stendahl
Per Erik Stendahl

Reputation: 883

Request a page from the app after iisreset. This is easily automated.

Upvotes: 2

Arnis Lapsa
Arnis Lapsa

Reputation: 47637

There is such a thing for IIS7. But i haven't tried, can't tell much more.

Upvotes: 0

Related Questions