<caching>
<outputCache defaultProvider="MyRedisOutputCache" enableOutputCache="true" enableFragmentCache="true" sendCacheControlHeader="true">
<providers>
<add name="MyRedisOutputCache" type="microsoft.web.redis.redisoutputcacheprovider" host="127.0.0.1" port="6379"accesskey="" ssl="false" />
</providers>
</outputCache>
</caching>没有任何帮助:(有什么想法吗?
发布于 2017-08-09 21:03:56
我终于能够通过卸载一个已过时的https://github.com/rgl/redis的现有redis安装来解决问题。
如果你在那里安装了红宝石,那就继续读.
然后我从https://chocolatey.org/packages/redis-64安装了https://chocolatey.org/packages/redis-64,它运行得很好。
C:\ProgramData\chocolatey\lib\redis-64将在管理命令提示符或powershell上运行以下命令,将redis注册为windows服务
redis-server --service-install redis.windows-service.conf --loglevel verboseLogs (如果没有这个文件夹,服务就不会启动)redis-server --service-starthttps://stackoverflow.com/questions/45191964
复制相似问题