PCF redis credentials using stackexchange redis

I am trying to configure redis using PCFredis credentials. During operations, a RedisServer exception continues to be thrown.

Can someone explain how PCFredis will work?

the code

private static Lazy<ConnectionMultiplexer> lazyConnection = new Lazy<ConnectionMultiplexer>(() =>
{
    return ConnectionMultiplexer.Connect("ip:port,password=taswar-foobared,abortConect = false, ssl= true or false");
});

public static ConnectionMultiplexer Connection
{
    get
    {
        return lazyConnection.Value;
    }
}

PCF Environment variables showing host like 10.10.10.10, port and password

+4
source share

Source: https://habr.com/ru/post/1686981/


All Articles