My ASP.NET MVC application uses a data structure that is time costly to create, so we are sharing it's instans through the requests. Now, to store changes in this data we need to know, when the seesion is end, or the service shuts down.
Is there any better way then just use Finalyser?