Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distributed caching points to a deprecated Chocolatey package #19542

Closed
petrsvihlik opened this issue Aug 17, 2020 · 8 comments · Fixed by #19586
Closed

Distributed caching points to a deprecated Chocolatey package #19542

petrsvihlik opened this issue Aug 17, 2020 · 8 comments · Fixed by #19586
Assignees
Labels
doc-bug Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects

Comments

@petrsvihlik
Copy link

petrsvihlik commented Aug 17, 2020

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.

@dotnet-bot dotnet-bot added ⌚ Not Triaged Source - Docs.ms Docs Customer feedback via GitHub Issue labels Aug 17, 2020
@Rick-Anderson
Copy link
Contributor

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

@petrsvihlik
Copy link
Author

@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.

@Rick-Anderson Rick-Anderson added this to To do in Next sprint via automation Aug 17, 2020
@mohsinnasir
Copy link
Contributor

@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.

@mohsinnasir
Copy link
Contributor

@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

@Rick-Anderson Rick-Anderson removed the PU label Aug 18, 2020
@Rick-Anderson Rick-Anderson self-assigned this Aug 18, 2020
@Rick-Anderson Rick-Anderson removed this from To do in Next sprint Aug 18, 2020
@Rick-Anderson Rick-Anderson added this to To do in August 2020 via automation Aug 18, 2020
@Rick-Anderson
Copy link
Contributor

@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.

@petrsvihlik
Copy link
Author

@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.

August 2020 automation moved this from To do to Done Aug 20, 2020
@abdollahkahne
Copy link

Just for complementary comment to this thread, I installed an extension package named Microsoft.Extensions.Caching.Redis and it gives me the extension method for registration of redis distributed cache service as below

services.AddDistributedRedisCache(options =>
{
     options.Configuration = "localhost:6379";
     options.InstanceName = "Calculator";
});

@xXAvoraXx
Copy link

can you add RemoveByPattern GetByPattern method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-bug Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
No open projects
August 2020
  
Done
Development

Successfully merging a pull request may close this issue.

6 participants