-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor support #16
Comments
I resolve by adding ITenancyProvider into my constructor and getting tenant name from it. I check if the context is null I will get the tenant from TenancyProvider if (tenancyContext.Tenant != null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I use your library in my Blazor project server side.
With RenderMode.ServerPrerendered mode the Blazor will load 2 times, at the first time I can get the tenant name but at the second time the TenancyContext is null.
But when I switch to RenderMode.Server, it will load 1 time and the TenancyContext is always null.
Can you give me any suggestion to fix it?
Thanks.
The text was updated successfully, but these errors were encountered: