Summary
In this chapter, you learned how to offer real-time data using SignalR. You created a live service containing a SignalR hub that offers real-time information about completed games. Clients can register to a subset – a group – of the information offered. You also created a simple console application that acts as a client. The same functionality can be implemented in other clients. You can check this out in the Blazor client application provided in this book’s GitHub repository, which contains the SignalR client functionality.
Then, you learned how to use Azure SignalR Service, which reduces the load on the service hosting the SignalR hub as the clients directly interact with Azure SignalR Service while this service acts as one client to SignalR.
With the implementation of this chapter, we created a REST API that’s invoked by the game-apis
service to send completed games. REST is great for easy communication with all clients, but it doesn’...