Giter Club home page Giter Club logo

Comments (6)

cijothomas avatar cijothomas commented on June 4, 2024 4

@magnuskarlssonhm sdk with fix for this issue is released now.
https://github.com/microsoft/ApplicationInsights-aspnetcore/releases/tag/2.8.0-beta2
(https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore/2.8.0-beta2)

from applicationinsights-aspnetcore.

lmolkova avatar lmolkova commented on June 4, 2024

Thanks for reporting it and providing stack trace. This is most likely the same as #936 - we'll address it in the next stable release (early October) and we'll do our best to include the fix in the next beta

from applicationinsights-aspnetcore.

cijothomas avatar cijothomas commented on June 4, 2024

Even if sdk does not quite well support 3.0, it should not have crashed/errored user app under any circumstances.
The listener code was wrapper in try..catch to catch all these potential unknowns in the following PR.
https://github.com/microsoft/ApplicationInsights-aspnetcore/pull/869/files#diff-127c7a3a6227c377b206b4904744707c

However, the above was accidentally overwritten in the perf fixes PR :(
https://github.com/microsoft/ApplicationInsights-aspnetcore/pull/907/files#diff-127c7a3a6227c377b206b4904744707c

  1. Need to ensure all code is try.catch ed. (P1)
  2. Actual fix for 3.0 listener changes

from applicationinsights-aspnetcore.

magnuskarlssonhm avatar magnuskarlssonhm commented on June 4, 2024

Is there a workaround for this? I'm setting up a new project with aspnet core preview8.

from applicationinsights-aspnetcore.

cijothomas avatar cijothomas commented on June 4, 2024

@magnuskarlssonhm No workaround unfortunately. This is being fixed in https://github.com/microsoft/ApplicationInsights-aspnetcore/pull/959/files. It will be part of next beta.

from applicationinsights-aspnetcore.

magnuskarlssonhm avatar magnuskarlssonhm commented on June 4, 2024

@cijothomas Thanks!

from applicationinsights-aspnetcore.

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.