Skip to content
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

Remove HttpContextAccessor usages #111

Open
Mik1ll opened this issue Sep 2, 2024 · 1 comment
Open

Remove HttpContextAccessor usages #111

Mik1ll opened this issue Sep 2, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Mik1ll
Copy link
Owner

Mik1ll commented Sep 2, 2024

Do not use HttpContext in interactive components https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-context?view=aspnetcore-8.0#ihttpcontextaccessorhttpcontext-in-razor-components-blazor

@Mik1ll Mik1ll added the enhancement New feature or request label Sep 2, 2024
@Mik1ll Mik1ll self-assigned this Sep 2, 2024
@Mik1ll
Copy link
Owner Author

Mik1ll commented Nov 4, 2024

Most usages were removed but there doesn't seem to be a good alternative for accessing the cookie right now. Since it works fine in Interactive Server without crossing between static rendering, not gonna touch it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant