C#操作Redis   未包含GetTypedClient定义
原创,转载请注明出处。

VS版本:2015
用NuGet安装了Redis的包
Redis GetTypedClient

按照百度的各种教程来操作,但是发现网上下载的DEMO可以正常运行,自己项目却一直报错
如下图:
自己项目报错:
Redis GetTypedClient
网上找的DEMO 不报错:
Redis GetTypedClient

问题原因:版本太新了。。。。(折腾了好几个小时才定位到我会去说??!!)
我的版本:
Redis GetTypedClient
对应的接口文档:
Redis GetTypedClient
网上教程用的:
Redis GetTypedClient
对应的接口文档。
Redis GetTypedClient


网上有人说:
请使用As替代GetTypedClient。(暂时还没有研究AS怎么用,不过确实有这个方法,老版本也有这个)
(该地址国内直接访问不了,想看的自己想办法吧。。。。。)
详细请见于https://github.com/ServiceStack/ServiceStack.Redis/wiki/IRedisTypedClient





相关文章:

  • 2021-09-20
  • 2022-01-22
  • 2021-11-13
  • 2022-01-04
  • 2022-03-06
  • 2021-11-18
  • 2021-12-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-07
  • 2022-03-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案