我在
Windows 7机器上成功安装了Redis服务器.
快速动手,一切按预期工作.
(使用
https://github.com/MSOpenTech/redis的MSI安装程序安装)
我使用StackExchange redis客户端C#连接到Redis服务器.
RedisClient
附: :我没有在我的机器上构建应用程序,因为我正在使用VS 2010并且这会引发一些错误.所以我安装了nuget包,现在我在C#中的Test App有程序集StackExchange.Redis
我的控制台应用程序很简单,只需一行代码
ConnectionMultiplexer redis = ConnectionMultiplexer.Connect("localhost:6379,allowAdmin=true");
它给了我一个错误:
System.AggregateException was unhandled
HResult=-2146233088
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancella