问题描述
如何使用 .net core 在 RedisCache 的 Google 内存存储上执行 Keys(读、写、删除)
解决方法
Memorystore API 用于管理 Memorystore 实例(创建、删除实例等)。如果要读取、写入和删除实例内的数据(键值对),则需要使用 Redis Client。有许多可用于 C# 的 Redis 客户端。
,我在这里看到了一个 java 示例 [1],它表明可以使用任何库进行连接,谷歌云平台上没有任何特定的东西。
请留意 https://github.com/GoogleCloudPlatform/dotnet-docs-samples,了解 .net 上的任何未来更新。
与此同时,https://github.com/beetlex-io/BeetleX.Redis 是 Redis 官方网站 https://redis.io/clients 上列出的一个这样的 .net 库