Aspnetcore.docs: Distributed caching points to a deprecated Chocolatey package

Created on 17 Aug 2020  Â·  6Comments  Â·  Source: dotnet/AspNetCore.Docs

This section points to a deprecated package.
Is there a replacement package?

To install Redis on your local machine:

  1. Install the Chocolatey Redis package.
  2. Run redis-server from a command prompt.

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Source - Docs.ms doc-bug

Most helpful comment

@Rick-Anderson this one works perfect - https://github.com/tporadowski/redis

I just tried it with the code from the MS docs example:

 services.AddStackExchangeRedisCache(options =>
            {
                options.Configuration = "localhost";
                options.InstanceName = "SampleInstance";
            });

and it just works.

All 6 comments

@mohsinnasir do you know if there's a replacement?

@Rick-Anderson this one works perfect - https://github.com/tporadowski/redis

I just tried it with the code from the MS docs example:

 services.AddStackExchangeRedisCache(options =>
            {
                options.Configuration = "localhost";
                options.InstanceName = "SampleInstance";
            });

and it just works.

@petrsvihlik redis generally targets linux OS, so for windows you may find redis packages deprecated or supported unofficially.
For windows based distrbuted caching software you may wanna try NCache as mentioned here.

@Rick-Anderson for native windows there is none provided by MSOPENTECH. However, WSL may be a good choice to use redis on windows as mentioned here

@mohsinnasir why don't I just change that section to link to Azure Cache for Redis

That's what you'll need for production anyway. You can use it in dev too.

@mohsinnasir yeah, I know. I was looking for something that I could use to test my code quickly on Windows.

@Rick-Anderson yeah, I generally agree with that. but that was something I was too lazy to do :D so I was glad that I found https://github.com/tporadowski/redis and that it worked out of the box.

Was this page helpful?
0 / 5 - 0 ratings