[Question] interoperability of Redis backplane, with Microsoft.AspNet.SignalR
See original GitHub issueI’m migrating a net472 project to net6, the project doesn’t serve SignalR request, but it publishes SignalR messages through Redis backplane. I see this in original project:
GlobalHost.DependencyResolver.UseStackExchangeRedis(new RedisScaleoutConfiguration(connectionString, "EventKey"));
I think I need this in new project:
opt.Configuration = ConfigurationOptions.Parse(connectionString);
opt.Configuration.ChannelPrefix = "EventKey";
I just want to confirm, is this really equivalent to the original configuration? Specifically, is RedisScaleoutConfiguration.EventKey equivalent to ConfigurationOptions.ChannelPrefix?
If not, how to make the interop work? Since I don’t want to change the SignalR host service, not for now at least.
Thanks.
Issue Analytics
- State:
- Created 8 months ago
- Comments:9 (5 by maintainers)
@davidfowl That’s for sure, I promise! 😃 But our migration is still in planning phase, we have 3 options for this message publishing feature, so whether I can post a working code base here totally depends on if at last this approach is chosen.
That’s right! You need to handle publish events via redis in the right format, you can leave out the receiving logic.