I am using Redis Cache in my project. Now there is a situation that cache is dynamically generate like "KeyPrefix"+i i is a dynamic value
Now I want to delete all keys that having prefix "KeyPrefix"
How it posible as in my code I can delete only matching key. But I need to delete all keys that containing some prefix.
IDatabase cache = RedisDistributedCacheManager.GetDatabase();
cache.KeyDelete(cacheKey);
Thanks Dalvir