I tried to use this example: http://docs.servicestack.net/caching#cacheclient-with-prefix
container.Register(c =>
c.Resolve<IRedisClientsManager>().GetCacheClient().WithPrefix("site1"));
However, the WithPrefix(string prefix)
is not resolving.
mythz
2
It’s defined here in the ServiceStack.Caching namespace so you either need to add the ServiceStack.Caching namespace or update to the latest version.
I have 4.5.10, is there any newer version?
mythz
4
There’s v4.5.11 on MyGet but you don’t need it for this, are you referencing the using ServiceStack.Caching;
namespace?