Inside of Blazor .NET Core 8, using Authentication, I go from my Home.razor page to the Login.Razor page. If I have stored any information in a class in Home.razor that informatoin is lost the minute I load Login.razor.
I could pass the information I need in Login.razor using a query string in the URL and just have Blazor parse the string, but means that information is showing to the user. That isn't good for security purposes. I would rather pass information to Login.razor in another way.
Essentially I have a global theme I would like to pass along for each web page to use. It's a bootstrap css file name. It's just a string, but perhaps in the future I may need to pass more than just a string, I may need to pass a whole class.