Launching Distributed SignalR Hub
Explore the process of launching distributed SignalR hubs across multiple applications using a Redis backplane. Understand how to run SignalR servers and clients, connect them seamlessly, and broadcast messages across hubs. This lesson also covers sending messages to hub clients from background processes outside the hub context.
We'll cover the following...
Launching our application
We will now launch both SignalRServer and SignalRServer2 applications. We can either do it by executing the following command from inside each of the project folders:
dotnet run
Once the applications are up, we can navigate to the main page of the SignalRServer application. Then, we can launch the DotnetClient application and, when prompted, get it to connect to the SignalR Hub of the SignalRServer2 application. This would be the base URL of the application, as defined in the launchSettings.json file inside the ...