Set up redis backplane per article: https://docs.microsoft.com/en-us/aspnet/core/signalr/redis-backplane?view=aspnetcore-3.1, how would one view published messages in redis?. I want to make sure redis pub/sub is actually being used without deploying it to 2 different nodes.
Configuration:
public void ConfigureServices(IServiceCollection services)
{
services.AddSignalR().AddStackExchangeRedis("localhost:6379", options => {
options.Configuration.ChannelPrefix = "MyApp";
});
I would be able to see in redis-cli when a message is sent via (Hub => chat hub):
await Clients.All.SendAsync("broadcastMessage", name, message);