I registered my RedisClient in my ServiceStack app host as follows
container.Register<IRedisClientsManager>(c => new RedisManagerPool(conn));
container.Register(c => c.Resolve<IRedisClientsManager>().GetCacheClient().WithPrefix("MyPrefix"));
however, in my Service when I call
var keys = Cache.GetAllKeys();
i received this error: ServiceStack.Redis.RedisResponseException: unknown command 'SCAN'
how should I solve this? I would like to clear all keys in this CacheClient with the prefix setup in the container.