I think I heard that ASP.NET applications will shut down after a while of being idle (i.e. no visitors).
Is there a way to prevent this behavior from happening? I h
Go to your task manager and kill w3wp.exe (or aspnet_wp). Nothing can stop you from doing this. Bottom line, ASP.NET applications cannot assume continuous functionality.
However, you can launch a separate thread, which will not be subject to idle timeouts -- as long as it has something to do. I've used this technique to control a 45-minute import that would continue whether or not anyone was on the web site. I used a transaction log and Application_Start so that when the process was recycled, it would pick up where it left off.