You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2025. It is now read-only.
Describe the bug
In my login page im using HTTPcontext to authenticate user and i can do that only on static render, but i cant store my data in local storage because of that.
InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method.
I'm using Blazor Web App NET8.
Any ideas how can i solve my problem?
Describe the bug
In my login page im using HTTPcontext to authenticate user and i can do that only on static render, but i cant store my data in local storage because of that.
InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method.
I'm using Blazor Web App NET8.
Any ideas how can i solve my problem?