标签:sssss ons ack key span multiple pre nec var
NuGet先安装StackExchange.Redis.StrongName
ConnectionMultiplexer redis = ConnectionMultiplexer.Connect("127.0.0.1:6379,password=mima"); IDatabase db = redis.GetDatabase(2); if (db.StringSet("testKey", "ssssss22222")) { var val = db.StringGet("testKey"); Console.WriteLine(val); }
标签:sssss ons ack key span multiple pre nec var
原文地址:https://www.cnblogs.com/JinweiChang/p/12485493.html