Multiple clients can connect to a specific Hub at the same time, and the number of connections can easily increase. SignalR offers a feature called groups in order to define subsets of connections and use them when broadcasting to clients. We will see how a Hub can place connected clients into groups and then broadcast calls to all the connections belonging to a specific group.
Before writing the actual code, we need to create a new empty web application, which we'll call
We're ready to start building our sample. We need to perform the following steps: