I am developing an intranet site for my organization that aggregates data from many sources, caches them in defined dynamic lists in a singleton class. The site has many razor pages that query/filter/allow CSV export of the data in various ways.
Problem / Issue that I need advice with: I need to frequently create new reports (razor pages) and deploy them, however, the data load into my singleton class is very bandwidth and time intensive so I don't want to perform it outside normal refresh windows (daily for most tables, weekly for others).
I'm coding Blazor Web App with VS Code (v1.107), targeting .Net 10, and hosting on IIS (Server 2019) with .Net Hosting Bundle v10.0.1.
I have almost complete control over the IIS configuration as the server is dedicated to my project; I can consider hosting multiple sites on the single IIS server if that is the preferred solution, but I have no experience with attempting that. I can have my server upgraded to 2022, but that will take a few months for approval and completion. Server 2025 is not approved for us yet.
Desired Outcome: I need to make frequent code deployments without losing the singleton state. I'm requesting advice on the best strategy.