Giter Site home page Giter Site logo

Comments (3)

akornich avatar akornich commented on June 8, 2024 1

@and-megan: Just released v1 has a solution to this one. The instructions are within the Rollbar.NETNotifier.docx (in the root of the codebase).
Page 11, "Asp.Net Core 2" section has the details.
@rivkahstandig3636 is working on updating the project front page instructions accordingly.

from rollbar.net.

akornich avatar akornich commented on June 8, 2024 1

I guess both are trying to solve similar problem but slightly differently. Rollbar middleware is custom made Rollbar.NET aware solution. The other one is Asp.Net Core's more generic solution that requires custom action coded to make Rollbar notifications work. Rollbar owns Rollbar middleware code. Microsoft owns the other one. Both would produce similar results if applied similarly.
There are other numerous ways to achieve error handling, including writing yet another middleware component if none of the existing ones fit the need. Or, hooking Rollbar into another third party error handling and logging infrastructure like Serilog. At the end, it is an application architect's call what is more appropriate/convenient tool for the job.

from rollbar.net.

and-megan avatar and-megan commented on June 8, 2024

Hey @akornich I have a user question about the middleware.

"Thanks, I have taken another strategy which provides me with the same outcome (report all unhandled exceptions).

I hook into the app.UseExceptionHandler and send details of the exception from there to Rollbar."

-- is there any difference between using your middleware solution or his above solution?

from rollbar.net.

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.