25 packages tagged with “problem-details”
A lightweight ASP.NET Core library that seamlessly integrates with ASP.NET Core's error handling mechanisms to standardize API error handling and messages into 'Problem Details for HTTP APIs' responses, supporting exception-based, attribute-based, and filter-based approaches.
Framework-agnostic HTTP abstractions for Knight.Response (shared options and validation mapping).
Exception catalog, pipeline behavior, and redaction utilities for Clean Architecture applications.
Extensible Web API middleware that maps all exceptions to standardized RFC7807-compliant HTTP responses.
ASP.NET MVC / Web API 2 adapters for Knight.Response — convert Result/Result<T> to IActionResult/IHttpActionResult with optional RFC7807 ProblemDetails.
ASP.NET Core extensions for Result, providing IResult conversions and ProblemDetails integration.
RU: VoluntasProgressus.APICore предоставляет централизованную обработку исключений, HealthCheck через HealthController и формирование стандартизированных API-ответов. Добавлена поддержка DI-контейнера Autofac. Исправлены циклические зависимости при регистрации IExceptionMapper. Ошибки возвращаются в формате RFC 7807 Problem Details (application/problem+json), успешные ответы оборачиваются в ApiResponse T. Глобальный фильтр ResponseHandlingMiddleware гарантирует единый формат всех ответов контроллеров. Добавлен расширенный атрибут SkipResponseWrappingAttribute для гибкого исключения оборачивания по статус-кодам (например, "2xx", "3xx", конкретные коды 201, 303 и т.п.). EN: VoluntasProgressus.APICore provides centralized exception handling, HealthCheck via HealthController, and standardized API responses. Support for the Autofac DI container has been added. Circular dependencies when registering IExceptionMapper have been fixed. Errors are returned in RFC 7807 Problem Details format (application/problem+json), successful responses are wrapped in ApiResponse T. The ResponseHandlingMiddleware ensures a consistent format for all controller responses. Added extended SkipResponseWrappingAttribute for flexible exclusion by HTTP status codes (e.g., "2xx", "3xx", specific codes like 201, 303, etc.). DE: VoluntasProgressus.APICore bietet zentrale Ausnahmebehandlung, HealthCheck über HealthController und standardisierte API-Antworten. Unterstützung für den Autofac DI-Container wurde hinzugefügt. Zyklische Abhängigkeiten bei der Registrierung von IExceptionMapper wurden behoben. Fehler werden im RFC 7807 Problem Details Format zurückgegeben (application/problem+json), erfolgreiche Antworten werden in ApiResponse T verpackt. ResponseHandlingMiddleware sorgt für ein einheitliches Format aller Controller-Antworten. Erweiterter SkipResponseWrappingAttribute wurde hinzugefügt, um flexible Ausnahmen nach HTTP-Statuscodes zu ermöglichen (z.B. "2xx", "3xx", spezifische Codes wie 201, 303). CH: VoluntasProgressus.APICore 提供集中式异常处理、通过 HealthController 的 HealthCheck 和标准化 API 响应。 新增了对 Autofac DI 容器的支持,修复了注册 IExceptionMapper 时的循环依赖问题。 错误以 RFC 7807 Problem Details 格式返回 (application/problem+json),成功响应封装在 ApiResponse T 中。 ResponseHandlingMiddleware 确保所有控制器响应的统一格式。 新增扩展 SkipResponseWrappingAttribute,可按 HTTP 状态码灵活排除(例如 "2xx"、"3xx"、具体码如 201、303)。
ASP.NET Core integration for ManagedCode.Communication library. Provides global exception handling, model validation filters, SignalR hub filters, and automatic Result to HTTP response mapping. Seamlessly integrates the Result pattern with your ASP.NET Core WebAPI and SignalR applications.
ASP.NET Core helpers for Knight.Response: map Result/Result<T> to IResult/ActionResult with consistent HTTP semantics.
Exception handling and problem details for NovelPlatform microservices
ASP.NET integration for DarkPeak.Functional. Provides extensions to convert Result<T, Error> to IResult and ProblemDetails for idiomatic minimal API error handling.
A library for handling problem details according to the RFC 7807 specification.
ASP.NET Core integration for Routya.ResultKit with Microsoft ProblemDetails support, exception handling middleware, and IResult/IActionResult extensions.
FluentValidation bridge for ResultCrafter. Converts validation failures to Error.BadRequest with structured field-error dictionaries.
A lightweight library for throwing HTTP status code exceptions using clean, expressive static helper methods. Additionally contains `ProblemDetails` support for ASP.NET Core.
Lightweight result wrapper, validation and transformation toolkit for C# APIs with RFC 7807 Problem Details support. Includes Result, ProblemDetails, and powerful custom validation attributes.
Structured error handling framework for .NET with RFC 7807 Problem Details.
EF Core integration for ResultCrafter ASP.NET Core. Maps DbUpdateConcurrencyException to 409 RFC 9457 ProblemDetails via IExceptionHandler.
A lightweight Result and Option pattern for .NET with fluent chaining and ASP.NET Problem Details mapping.
Fluent HttpClient test extensions for readable assertions on HttpResponseMessage. Provides lightweight helpers for ASP.NET Core integration testing, including ProblemDetails, ValidationProblemDetails, and JSON body assertions.
A lightweight, opinionated API error standardization library for ASP.NET Core. Provides a single, frontend-friendly error contract for validation, domain, and system errors.
ASP.NET Core integration for Spur. Provides IResult and IActionResult extensions with RFC 7807 Problem Details support. One-line conversion from Result to HTTP responses for Minimal APIs and MVC controllers.
ASP.NET Core integration for ResultCrafter: RFC 9457 ProblemDetails, structured logging, IExceptionHandler pipeline, and Minimal API/MVC result mapping.
This package provides a robust and extensible framework for centralized exception handling in .NET Web APIs. It standardizes error responses using ProblemDetails, supports custom exceptions and includes a flexible status code mapping system. The package integrates seamlessly via middleware and service configuration, making global error handling clean and maintainable.
Automatic, consistent error handling for ASP.NET Core APIs with structured JSON responses, validation error details, custom JSON field names, YAML configuration, RFC 9457 Problem Details support, OpenTelemetry tracing, error message localization, rate limiting integration, and extensive configurability.