I am a bit confused with the Azure SignalR connection count. When I run my ASP.NET MVC in my Visual Studio debug mode, it immediately creates 10 server connections. So, I carefully looked at the documentation (https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-concept-messages-and-connections) and it said that
By default, each application server starts with five initial connections per hub, and each client has one client connection.
For example, assume that you have two application servers and you define five hubs in code. The server connection count will be 50: 2 app servers * 5 hubs * 5 connections per hub.
Well using the formula above, I should only have 5 connections because: 1 app server * 1 hub * 5 connections per hub = 5 connections
. I can't understand why my portal showed that I have 10 server connections instead of 5.
Can anyone help to explain how Azure calculates the server connection?
Thanks...
For those who looking on how to enable Live Trace Tools:
Go to Diagnostics Settings under Monitoring tab in Azure portal SignalR service. Click on "Open Live Trace Tool" button. Click on Capture in newly opened window. When you run your application, all connections would be shown in Live Trace.