使用的 ServiceStack.Redis 做完读写组件 这个用起来比较方便。

1.Redis安装

下载地址: https://redis.io/download

 

 

2.Redis 地址

为了以后修改方便  直接吧连接地址放到了 webconfig 文件中了

<appSettings>
   <add key="RedisPath" value="192.168.1.24:6379" /><!--redis服务端地址—>

</appSettings>

 

 

引用命名空间

using ServiceStack.Redis;
using RedisStudy;

相关文章:

  • 2021-06-18
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-06-06
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2021-07-08
  • 2022-02-13
相关资源
相似解决方案