Skip to content

MediatR exception handler: retarget to net10.0 and MediatR 14.2.0 - #2142

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/96248-csharp-global-exception-handling-for-mediatr-requests
Open

MediatR exception handler: retarget to net10.0 and MediatR 14.2.0#2142
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/96248-csharp-global-exception-handling-for-mediatr-requests

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Retargets the exception-handling/MediatrExceptionHandler sample from net7.0 to net10.0 and brings its packages current.

  • MediatR 12.1.1 -> 14.2.0
  • Microsoft.AspNetCore.OpenApi 7.0.10 -> 10.0.11
  • Swashbuckle.AspNetCore 6.5.0 -> 10.2.3
  • Tests project retargeted to net10.0

No source changes. AddLogging() is deliberately not added: the sample is a WebApplication.CreateBuilder host, which registers ILoggerFactory itself, so the MediatR 14 requirement is already satisfied.

Build: 0 errors, 0 warnings. Tests: 1/1 passing on net10.0 (SDK 10.0.302).

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