How is the culture set per circuit/session in Blazor server

David Thielen
3,196
Reputation points
Hi;
Sorry for a new question but my comment in this question does not appear (disappearing comments seems to be endemic on this site).
Very basic question. How does the culture get set for a session/circuit in Blazor server. In the case of no prompt to the user allowing a change, what goes on?
- Does it set the culture based on the client browsers Accept-Language?
- Does it set the culture based on the server's culture, having all clients use that same culture?
- Is it something else?
And if it's per session/circuit, do I need to do anything or does it then have that as the CultureInfo.CurrentCulture / CultureInfo.CurrentUICulture for all calls I make in the context of that session/circuit?
thanks - dave
Sign in to answer