Skip to content

Exceptionless: net11.0, Exceptionless.AspNetCore 6.2.0 and an in-memory capture test - #2425

Merged
vladimir-pecanac-main merged 3 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/116846-csharp-real-time-net-error-reporting-with-exceptionless
Nov 29, 2026
Merged

vladimir-pecanac-main merged 3 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/116846-csharp-real-time-net-error-reporting-with-exceptionless

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Updates the Exceptionless sample to net11.0 with Exceptionless.AspNetCore 6.2.0, using builder.AddExceptionless() together with AddProblemDetails() and UseExceptionHandler(), and replaces Swashbuckle with Microsoft.AspNetCore.OpenApi. The controller namespace becomes ExceptionlessDemo.Controllers so the calls no longer need the Exceptionless. qualifier, the broken inner ExceptionlessTestClient.sln is removed so the folder has one solution, the test project moves to xunit 2.9.3, and a new WebApplicationFactory test checks that an unhandled exception produces an error event while cancelling every event so nothing is sent.

…ure test

Ports the sample to net11.0 with Exceptionless.AspNetCore 6.2.0 and the builder.AddExceptionless() setup with ProblemDetails and the exception handler, replaces Swashbuckle with Microsoft.AspNetCore.OpenApi, renames the controller namespace to ExceptionlessDemo.Controllers, deletes the broken inner solution file, moves the tests to xunit 2.9.3 and adds an in-memory test that checks the error event without sending it.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit d8be621 into CodeMazeBlog:main Nov 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant