2

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?

6 Answers 6

2

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

Sign up to request clarification or add additional context in comments.

2 Comments

How can you do this automated?
Write a script that does iisreset and then sends a request to the app. (curl from curl.haxx.se comes to mind)
2

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.

Comments

1

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

Comments

0

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.

Comments

0

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

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.