Introduction

A detailed explanation of the structure of this chapter.

So far, we've only covered one type of SignalR call from the server-side hub to the clients—broadcasting a message to all clients. This is far from being the only way we can use SignalR. The SignalR Hub allows us to send messages to individual clients. We can also group clients together and send messages to specific groups of clients.

But even if we broadcast messages to all clients, we don’t necessarily have to include the client from whom the message originated. After all, the client already knows what the message is. So, we can exclude it from the list of recipients.

By the end of this chapter, we will be able to select which clients we want to send messages to from the SignalR Hub.

Get hands-on with 1200+ tech skills courses.