Giter Club home page Giter Club logo

Comments (2)

kinyoklion avatar kinyoklion commented on May 29, 2024 1

The most recent version has the minimum set to 2.0.0 to be consistent with other packages.

Given the behavior of ASP.NET this will not eliminate the need for redirects, but it should make the default configuration not require this one for now.

from dotnet-eventsource.

kinyoklion avatar kinyoklion commented on May 29, 2024

Hello @exit81,

Unfortunately this seems to be a peculiarity in the way that dependencies get resolved when using ASP.Net.

The LaunchDarkly.EventSource package supports a range of versions. The lowest version is 1.0.1.

https://github.com/launchdarkly/dotnet-eventsource/blob/main/src/LaunchDarkly.EventSource/LaunchDarkly.EventSource.csproj

  <ItemGroup>
    <PackageReference Include="LaunchDarkly.Logging" Version="[1.0.1,3.0.0)" />
  </ItemGroup>

So any version greater than 1.0.1 and less than 3.0.0 will work with LaunchDarkly.Logging.

This is to allow one version of the library to work with newer and older SDKs (which respectively use older and newer logging).

Other .Net targets, for instance a .Net desktop application, will automatically redirect the used logging implementation.

So, as long as our event source library remains compatible with older SDKs, we will unfortunately encounter this issue with ASP.Net.

Thank you,
Ryan

from dotnet-eventsource.

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.