Can I cache data in static variables? What happens to them when the application is restarted? It is only about MVC.

  • What happens to them when the application is restarted - obviously they are destroyed and re-created - Grundy
  • So what happens when iis recycle? - Vladimir Smirnov
  • What events in Global.asax work, when they are destroyed and re-created - what are the options? - Vladimir Smirnov
  • There are no events that track the state of static variables - Grundy
  • Obviously, something happens before they are destroyed. What could it be? - Vladimir Smirnov

0