Skip to content

JorgeCostaMacia/http-net

Repository files navigation

http-net

http-net

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.*.

License Main Develop

Part of the JorgeCostaMacia.* family, on top of the shared-net DDD foundation (consumed as published NuGet packages), alongside bus-net (messaging).

Requirements

One of the following SDKs: .NET 8 / 9 / 10 (.NET 10 recommended).

Packages

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.

Contact

About

Self-contained .NET web-layer packages — ASP.NET Core building blocks (ProblemDetails, exception handling, OpenAPI, Minimal API versioning, Serilog request logging) — each scoped to a single concern and shipped independently under JorgeCostaMacia.Http.*.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages