Hi @Peter Simard
Thanks for the question and using MS Q&A platform.
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.
To allow multiple parallel calls per client in SignalR, set the MaximumParallelInvocationsPerClient
property in your Program.cs
or Startup.cs
during the SignalR setup.
var builder = WebApplication.CreateBuilder(args);
// Configure SignalR with MaximumParallelInvocationsPerClient
builder.Services.AddSignalR(options =>
{
options.MaximumParallelInvocationsPerClient = 10; // Allow up to 10 parallel invocations per client
});
var app = builder.Build();
// Map SignalR hubs
app.MapHub<MyHub>("/myhub");
app.Run();
Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.