API

AddProblemDetails

Registers services for problem detail representations.

Formal Syntax & Structure

csharp syntaxcsharp
builder.Services.AddProblemDetails();

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.builder.Services.AddProblemDetails();
C# & .NET Reference