Comments (3)
@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.
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.
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)
- Question: How to use People Tracking in Asp Net Core 5 Web app HOT 2
- Add explicit build target for .Net 6.0
- Add explicit build target for .Net 6.0 to relevant unit test projects
- Upgrade build target to .Net 6.0 for all relevant sample apps
- Update sample apps Rollbar project destination
- Update unit test projects Rollbar project destination
- Prepare release 5.1.0 (moving out of Beta)
- Remove explicit build targets for unsupported .NET Framework versions
- Remove explicit build targets for unsupported .NET versions
- ConnectivityMonitor tests wrong thing HOT 1
- Fix the CI pipeline
- Consider replacing Newtonsoft.Json with System.Text.Json HOT 2
- Release v5.1.1
- NullReference exception while initializing RollbarInfrastructure
- Telemetry in DotNet Core 3.1 is not initialized
- Capture RollbarInfrastructureConfig with each payload
- No option to set code_version at the config level in v5 of the SDK HOT 9
- Release v5.2.0
- code_version setting is NOT in the expected location of the payload. Versions functionality doesnโt work HOT 2
- RollbarConfigurationLoader searches in wrong directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollbar.net.