Brennan

Results 270 comments of Brennan

Generally, you should be using `Context.Request.GetHttpContext` in your Hub: https://learn.microsoft.com/aspnet/signalr/overview/guide-to-the-api/hubs-api-guide-server#how-to-get-information-about-the-client-from-the-context-property With the above method, you should have access to the `HttpContext` inside `OnDisconnected` and `OnReconnected` since we capture the request...

Please provide information about what you're seeing. If your app is at 100% then it might not be able to accept new connections so you might want to fix your...

What version are you using? Can you provide a minimal repro app as a GitHub project (even if it's non-deterministic)?

To be clear, properties with private setters are serialized, but properties with no setters aren't.

You can add a framework reference in libraries targeting 3.1+ (note: 6.0+ are the only supported versions today) https://learn.microsoft.com/aspnet/core/fundamentals/target-aspnetcore?view=aspnetcore-7.0&tabs=visual-studio#use-the-aspnet-core-shared-framework

> Many ASP.NET Core packages are no longer published as NuGet packages because we have moved them into the Microsoft.AspNetCore.App shared framework. The shared framework is a group of assemblies...

We didn't change much on the client side from 6.0 to 7.0, did you update the server at the same time? Can you try only updating one side at a...

Oh I have an idea of what's happening. I don't think Windows Auth works over HTTP2, but because the HttpClient is trying HTTP2 by default now it will successfully connect...