SignalR Scaleout on Azure RedisCache - Connection Issues
Based on the information here http://www.asp.net/signalr/overview/performance/scaleout-with-redis I got up to Azure Redis Cache . I've bumped SignalR over Azure ServiceBus up to this point, but to be honest, it drops a lot of messages and I would like to explore other options. I'm trying to just make a small discovery with my new Azure Redis cache instance, but my application won't work anymore with a single line configuration change.
EDIT - I must add that I am using SignalR 2.2.0 libraries.
var sbConnString = CloudConfigurationManager.GetSetting("Microsoft.ServiceBus.ConnectionString"); GlobalHost.DependencyResolver.UseServiceBus(sbConnString, ApplicationGlobals.APPLICATION_NAME);
var redisConnString = "MYAPP.redis.cache.windows.net,ssl=true,password=PRIMARY_ACCESS_KEY"; GlobalHost.DependencyResolver.UseRedis(new RedisScaleoutConfiguration(redisConnString, "MYAPP"));
New Code Option 2:
GlobalHost.DependencyResolver.UseRedis("MYAPP.redis.cache.windows.net", 6380, "PRIMARY_ACCESS_KEY", "MYAPP"));
I've tried all the SSL / Non-SSL permutations, the connection string constructor and the contructor parameter, etc., but I haven't had time to start the WebApp with Redis scaling configuration yet. What am I doing wrong?
source to share