AliBazzi / IdentityServer4.Contrib.RedisStore

A persistence layer using Redis DB for operational data and for caching capability for Identity Server 4
https://www.nuget.org/packages/IdentityServer4.Contrib.RedisStore
MIT License
137 stars 48 forks source link

ConnectionMultiplexer Issue #18

Closed javaadpatel closed 5 years ago

javaadpatel commented 5 years ago

After updating to IdentityServer4 v2.4, I was forced to update this library to v2.0 but now I have an error about the ConnectionMultiplexer existing in both StackExchange.Redis.StrongName and StackExchange.Redis. I'm using a dotnet core 2.1 project.

Do you know how to resolve this conflict?

ConnectionMultiplexer
AliBazzi commented 5 years ago

Looks like StackExchange.Redis.StrongName package is referenced by one of the framework library that you depends on in .Net core 2.1, maybe it's Microsoft.AspNetCore.All, that's why there is this conflict, please check out your references or share the list here so I have more context to help.

javaadpatel commented 5 years ago

I checked out my references, one of them causing an issue was Microsoft.AspNetCore.All which I uninstalled and then installed all the individual packages. The two others were Microsoft.Extensions.Caching.Redis which i swopped out for Microsoft.Extensions.Caching.StackExchangeRedis, and then Microsoft.AspNetCore.DataProtection.Redis which i swopped out for "Microsoft.AspNetCore.DataProtection.StackExchangeRedis.

Thanks for the help and the awesome library.

AliBazzi commented 5 years ago

Glad it helped you out, you are welcome !