Force ASP.NET Apps to Keep-Alive and Pre-Compile
Larry Silverman
has taken my
Keep-Alive / Pre-Compile
code for ASP.NET and extended it a fair amount. I still get
a lot of email about my version, so I thought I would
share Larry's code
for those interested. Larry's version works with Forms
Authentication, solving one of the problems I left undone.
It does require a super-user manually kick off the process,
but that seems to be a fair tradeoff. He's also separated
the keep-alive functionality from the pre-compilation, and
added a base page class for pre-compilation to avoid real
functionality. There's also an email sent about success or
failure, along with the exceptions that occurred. So if you
liked my keep-alive and pre-compile code, but need more,
then this may be what you were looking for.