输入banner图图片脚本导航/分类

Nosql 之 Redis(可做缓存 )

void Main(string[] args) { string host = "127.0.0.1"; string elementKey = "testKey"; int port = 6379; RedisClient rc = new RedisClient(host, port, "foobared"); rc.Set(elementKey, "hello redis"); string res = rc.Get<string>(elementKey); Console.WriteLine(res); Console.ReadLine(); }

 

Nosql 之 Redis(可做缓存 )

标签: