-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Discussion] React to StackExchange.Redis v2.0 #3606
Comments
when is this package going to be released ? Microsoft.Extensions.Caching.StackExchangeRedis |
Soon. aspnet/Announcements#307 |
Good changes |
We periodically close 'discussion' issues that have not been updated in a long period of time. We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate. |
We are introducing two new packages to use StackExchange.Redis 2.0 with ASP.NET Core Caching and SignalR. We are also introducing support for using Redis to store DataProtection key material using StackExchange.Redis 2.0.
For ASP.NET Core 2.2 we will continue to ship our existing packages which use StackExchange.Redis 1.0, to preserve compatibility for existing users. However, we suggest you update to the new package as soon as possible. These packages are now considered deprecated and will be removed in ASP.NET Core 3.0.
Caching
We are releasing a new package "Microsoft.Extensions.Caching.StackExchangeRedis" which will depend on StackExchange.Redis 2.0. "Microsoft.Extensions.Caching.Redis" will continue to ship in ASP.NET Core 2.2 with the StackExchange.Redis 1.0 dependency and will be removed in 3.0.
To use the new package, remove your dependency on Microsoft.Extensions.Caching.Redis (if present), and add a dependency to "Microsoft.Extensions.Caching.StackExchangeRedis". Next, change your
AddDistributedRedisCache
invocation inConfigureServices
toAddStackExchangeRedisCache
. No further changes should be necessary.DataProtection
The "Microsoft.AspNetCore.DataProtection.Redis" package is new in ASP.NET Core 2.2 and depends on StackExchange.Redis 1.0 in Preview 2. In Preview 3, this package has been renamed to "Microsoft.AspNetCore.DataProtection.StackExchangeRedis" and has been updated to use StackExchange.Redis 2.0.
To use the new package, remove your dependency on Microsoft.AspNetCore.DataProtection.Redis (if present), and add a dependency to "Microsoft.AspNetCore.DataProtection.StackExchangeRedis". Next, change your
PersistKeysToRedis
invocation inConfigureServices
toPersistKeysToStackExchangeRedis
. No further changes should be necessary.SignalR
We are releasing a new package "Microsoft.AspNetCore.SignalR.StackExchangeRedis" which will depend on StackExchange.Redis 2.0. "Microsoft.AspNetCore.SignalR.Redis" will continue to ship in ASP.NET Core 2.2 with the StackExchange.Redis 1.0 dependency and will be removed in 3.0.
To use the new package, remove your dependency on Microsoft.AspNetCore.SignalR.Redis (if present), and add a dependency to "Microsoft.AspNetCore.SignalR.StackExchangeRedis". Next, change your
AddRedis
invocation inConfigureServices
toAddStackExchangeRedis
. No further changes should be necessary.The text was updated successfully, but these errors were encountered: