Aspnetcore.docs: AddRedis when using Microsoft.AspNetCore.SignalR.Redis

Created on 5 Nov 2019  ·  8Comments  ·  Source: dotnet/AspNetCore.Docs

In the Startup.ConfigureServices method, call AddStackExchangeRedis after AddSignalR:

Apparently AddRedis is the method when using Microsoft.AspNetCore.SignalR.Redis


Document Details

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

SignalR Source - Docs.ms doc-provided

All 8 comments

Apparently AddRedis is the method when using Microsoft.AspNetCore.SignalR.Redis

That isn't true anymore. In 3.0 there is no Microsoft.AspNetCore.SignalR.Redis package.

If you're referring to the 2.2 versioned docs then that is true, and we could update the doc to mention that. Although I'm not sure what the status on 2.2 docs is these days as it will be out of support soon.

AddRedis is in the 2.1 and 2.2 version.

If you're referring to the 2.2 versioned docs

Hi @BrennanConroy - nope, I was referring to the v3 page.


image

The above has a reference to the old package Microsoft.AspNetCore.SignalR.Redis but only has the code snippet for the new package Microsoft.AspNetCore.SignalR.StackExchangeRedis

It would see that

Microsoft.AspNetCore.SignalR.Redis - Depends on StackExchange.Redis 1.X.X. This package will not be shipping in ASP.NET Core 3.0.

shouldn't be in the v3 doc page, thoughts? 💭

Good eye, missed that reference.

shouldn't be in the v3 doc page

We should remove that reference in the 3.0 docs. 👍

We should remove that reference in the 3.0 docs.

Not only that but when reading the 2.2 documentation if I use Microsoft.AspNetCore.SignalR.Redis I need to call AddRedis not AddStackExchangeRedis. I went to submit a PR but I wasn't sure what is the best way to document that.

I guess it would be best if I submit my PR and go from there?

You guys rock! 🤝

Thanks for getting this resolved 🥳. Thanks the speed ⚡.

@spottedmahn thanks for the PR

Was this page helpful?
0 / 5 - 0 ratings