Dloizides.ProblemDetails
0.1.0
dotnet add package Dloizides.ProblemDetails --version 0.1.0
NuGet\Install-Package Dloizides.ProblemDetails -Version 0.1.0
<PackageReference Include="Dloizides.ProblemDetails" Version="0.1.0" />
<PackageVersion Include="Dloizides.ProblemDetails" Version="0.1.0" />
<PackageReference Include="Dloizides.ProblemDetails" />
paket add Dloizides.ProblemDetails --version 0.1.0
#r "nuget: Dloizides.ProblemDetails, 0.1.0"
#:package Dloizides.ProblemDetails@0.1.0
#addin nuget:?package=Dloizides.ProblemDetails&version=0.1.0
#tool nuget:?package=Dloizides.ProblemDetails&version=0.1.0
Dloizides.ProblemDetails
RFC 9457 ProblemDetails for every ASP.NET Core error response (ServiceDefaults 2.0, security floor row 6).
builder.Services.AddDloizidesProblemDetails();
app.UseDloizidesProblemDetails();
| Case | Response |
|---|---|
| Unhandled exception | 500 application/problem+json with status, title, type, traceId |
BadHttpRequestException |
its own status (for example 413) as ProblemDetails |
| Empty 4xx/5xx response | ProblemDetails for that status; a response that already has a body is left alone |
| Outside Development | no detail, no exception message, no stack trace |
| Development | an exception field with the full exception text |
Service IExceptionHandler |
runs first; this package is the fallback |
traceId is the W3C activity id when tracing is on (Tracing.Client sets the 32-character trace id), otherwise the request id. No options.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Dloizides.ProblemDetails:
| Package | Downloads |
|---|---|
|
Dloizides.ServiceDefaults
Aspire-style service defaults for ASP.NET Core: OpenTelemetry (logging/metrics/tracing) wiring, HTTP resilience + service discovery, standard health-check registration (via ServiceDefaults.HealthChecks), and the platform endpoint map (anonymous /health/live|start|ready Kubernetes probes plus an ACME HTTP-01 no-op). Extracted from ~8 services that had each hand-copied the ServiceDefaults/Extensions.cs; normalizes the PostgressConnection connection-string typo by resolving both the correct (PostgresConnection) and legacy-typo keys. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 146 | 11/21/2026 |