HTTP building blocks for ASP.NET Core — request/response abstractions, exception handling, ProblemDetails, OpenAPI, API versioning and Serilog request logging — each scoped to a single concern and shipped independently under
JorgeCostaMacia.Http.*.
Part of the JorgeCostaMacia.* family, on top of the shared-net DDD foundation (consumed as published NuGet packages), alongside bus-net (messaging).
One of the following SDKs: .NET 8 / 9 / 10 (.NET 10 recommended).
| Package | What it does |
|---|---|
| JorgeCostaMacia.Http | HTTP request/response base contracts — traceable abstract records. |
| JorgeCostaMacia.Http.Exception | Maps domain / validation / bad-request exceptions to HTTP status codes. |
| JorgeCostaMacia.Http.Exception.Serilog | Serilog logging of unhandled exceptions, enriched with aggregate metadata. |
| JorgeCostaMacia.Http.MinimalApi.Versioning | URL-segment API versioning for Minimal APIs. |
| JorgeCostaMacia.Http.OpenApi | Native OpenAPI setup with RFC 7807 ProblemDetails schema enrichment. |
| JorgeCostaMacia.Http.ProblemDetails | Enriched RFC 7807 ProblemDetails responses with domain metadata and per-field errors. |
| JorgeCostaMacia.Http.Serilog | Serilog request-logging middleware: body buffering, enrichment and a per-request summary. |
