-
Notifications
You must be signed in to change notification settings - Fork 10.3k
How can I access the ConnectionContext from Blazor server-side #14167
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
Comments
@enetstudio Thanks for contacting us. We don't pass in the connection context to Blazor Server-side applications. What are you trying to accomplish? Why do you want to have access to the connection context? |
I thank you for the time you took to respond. I'd like to get client information such as IP adress and browser name/version in Blazor server-side. I read this comment anurse: And this: Link: aspnet/SignalR#1114 But not a word about how to access ConnectionContext. Once again, I want to get client information such as IP address and browser name/version in Blazor server-side... Many thanks... |
Thanks for contacting us, @enetstudio. |
@mkArtakMSFT any updates on this? Really need this functionality in my app and would prefer to use native functionality than the weird workarounds with the Javascript interop. 😆 |
@Andrew-Pynch We recommend you follow the approach described here to pass any data you need from the request into the Blazor app |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Is there a way to do that ?
Thanks....
The text was updated successfully, but these errors were encountered: