I am working on a Blazor Server application in which I need to persist a String created within the Startup.cs file itself, until the application is fully loaded; at which point I will retrieve that String and insert it into a database.
I ask this because Startup.cs is the place used to add services (database connectivity, sessions, etc.) to your Blazor application, and I can't seem to figure out a way.
Is there a way to do this?