We are in the process of evaluating Azure SignalR Service to potentially replace our current local SignalR service. We are using .Net Core 2.2.402
We tried the following:
services.AddSignalR();
services.AddSignalR().AddAzureSignalR(Configuration["Azure-SignalR:Connection-String"]);
And defined the routes and hubs as follows:
app.UseAzureSignalR(route =>
{
route.MapHub<QueueHub>("/queue");
});
app.UseSignalR(route =>
{
route.MapHub<MessagesHub>("/message");
});
Ideally we would like to use both in the same Web App but it seems to work only for one or the other.