Visual Studio claims it cannot find the PersistKeysToRedis method described here: https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.dataprotection.redisdataprotectionbuilderextensions.persistkeystoredis?view=aspnetcore-2.1
I am using dotnet core 2.1.302. I have the Microsoft.AspNetCore.All NuGet package installed, which as far as I can tell is all I need. I have most of the other methods described in that namespace as the following image shows:
I have the Microsoft.AspNetCore.DataProtection namespace in my using statements.
So why do I not see this method? It's late on a Friday so maybe I'm missing something...
Your link says PersistKeysToRedis
is in assembly Microsoft.AspNetCore.DataProtection.Redis
. Microsoft.AspNetCore.All
does not have a reference to this assembly so you need to add it manually.