GithubHelp home page GithubHelp logo

Comments (7)

unaizorrilla avatar unaizorrilla commented on June 3, 2024

Yeap, I try to solve it ASAP and update the package.

from aspnetcore.diagnostics.healthchecks.

unaizorrilla avatar unaizorrilla commented on June 3, 2024

Hi @sadjadbp ,

I check that Microsoft ASP.NET Core packages (Microsoft.Extensions.Caching, SignalR.Redis and more) also use StackExchange.Redis.StrongName 1.2.6.
Why this package version generate "reference confusion for VS"?

from aspnetcore.diagnostics.healthchecks.

cilerler avatar cilerler commented on June 3, 2024

Not sure about the confusion/conflict part. Not experiencing it however you should definitely want to start using new library that referenced here aspnet/Announcements#322

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 in ConfigureServices to AddStackExchangeRedisCache. No further changes should be necessary.

from aspnetcore.diagnostics.healthchecks.

unaizorrilla avatar unaizorrilla commented on June 3, 2024

Hi @cilerler

Thanks a lot for this reference, it is true but SignalR Core 1.1.0 also use the StrongName reference

https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.Redis/1.1.0

A try to update the package but, probably a problem with different version still exist in the future.

from aspnetcore.diagnostics.healthchecks.

sadjadbp avatar sadjadbp commented on June 3, 2024

@unaizorilla

I've already switched to latest version of Redid (because of all the bugs it had) that's why VS throw an error. I guess you can either switch to that new library Microsoft is going to use or create another package that reference new Redis library by StackExchange.

from aspnetcore.diagnostics.healthchecks.

unaizorrilla avatar unaizorrilla commented on June 3, 2024

@sadjadbp Can you checkout 2.2.2 version of Redis heealth check? This reference 2.0.513, the referenced version of redis in new asp.net core package

from aspnetcore.diagnostics.healthchecks.

sadjadbp avatar sadjadbp commented on June 3, 2024

@unaizorrilla thanks worked like a charm, I have reference to their latest 2.0.519 and everything work with this new release.

from aspnetcore.diagnostics.healthchecks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.