Product version: 13.0.0 Project: ASP.NET Core MVC & jQuery
Hi,
We're currently facing an issue with implementing chat functionality using SignalR across multiple servers, with Redis serving as the backplane for communication. Here's what we've done so far:
Uncommented the relevant code in the WebCoreModule and provided the Redis connection string. Added Microsoft.AspNetCore.SignalR.StackExchangeRedis package and configured it in the Startup.cs class of our ASP.NET Core MVC project as follows:
services.AddSignalR(o => { o.EnableDetailedErrors = true; })
.AddStackExchangeRedis(_appConfiguration["Abp:RedisCache:ConnectionString"], options =>
{
options.Configuration.ChannelPrefix = RedisChannel.Literal("ZeroChannel");
options.Configuration.ClientName = "VS2022";
});
Despite these configurations, when attempting to send a message to a user, the message doesn't appear on the sender's chat screen itself.
Could you please assist us in identifying and resolving this issue? Any insights or guidance would be greatly appreciated.
Thank you!