.net-coreredissamplegoogle-cloud-memorystore

Redis cache .net core sample with GCP memorystore


Does anyone have .Net core sample of using GCP Memorystore Redis instance. What libraries one need to use mainly for key-value kind of store.


Solution

  • Update - I used Microsoft.Extensions.Caching.Redis library to connect and do the operations. The only caveat is that it doesn't have the RemoveAll support i.e. removing or clearing all the keys.