I have in my ASP.NET static variable that flushes itself to DB every X insertions.
Problem is, if I publish the application , the IIS process is killed with all my static ma
Its kind of risky to rely on application shutdown events to keep a database updated. If IIS is force restarted, recycled or there is a power outage, then you are going to miss the event.