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.
Comments
Post a Comment