asp.net mvc - How to detect a shutdown and run code before shutdown execution in MVC .NET -


i have web server cluster (windows 2008) collects usage data clients. servers batch data , send after time or amount of data. problem using aws auto-scaling, , machine can shut down @ time. detect shutdown event , send usage data database before application killed. know if possible?

i say, can perform these tasks (in code/ yourself) when server goes up.

otherwise here http://social.technet.microsoft.com/forums/windowsserver/en-us/bd8ea190-9bf4-4915-8ed9-96ee5d6f336a/when-are-windows-server-20032008-shutdown-scripts-run-in-the-shutdown-process


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -