User-1771888428 posted
Currently in blazor server, Singleton is good, that is with page refresh it won't reset, But a big problem of it is not specific to each user and is shared between all users in the app.
I created a web site thinking my shopping cart as singleton is good, But when I deployed it, All users could see each other shopping cart and when one user is adding an item, All other users see it.
I resorted to scoped service that was specific to each user, but then refreshing the page reset the shopping cart.
I think if singleton services in blazor serverside become specific to each user, Many problems of Blazor server including authentication will solve.
Is Blazor team planning to create a type of service that has these features meaning, It is specific to each user and doesn't reset by page refresh?