Skip to content
This repository was archived by the owner on Nov 8, 2026. It is now read-only.
JorgeCostaMaciaPublic archive

About

ASP.NET Core building blocks for .NET web APIs: RFC 9457 ProblemDetails, exception handling, OpenAPI, Minimal API versioning, forwarded headers and Serilog request logging. Small, independent NuGet packages (JorgeCostaMacia.Http.*).

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

http-net

http-net

Archived. http-net continues as http-dotnet, with the same JorgeCostaMacia.Http.* package ids; from 5.0.0 they take the domain exceptions from JorgeCostaMacia.DDD.Exception (ddd-dotnet).

The versions published from here stay on nuget.org, and this history stays readable.

HTTP building blocks for ASP.NET Core — request/response abstractions, exception handling, ProblemDetails, OpenAPI, API versioning, forwarded headers 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

The .NET 10 SDK.

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.ForwardedHeaders Forwarded-headers defaults for a service behind a proxy on the same host or Docker's bridge.
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

ASP.NET Core building blocks for .NET web APIs: RFC 9457 ProblemDetails, exception handling, OpenAPI, Minimal API versioning, forwarded headers and Serilog request logging. Small, independent NuGet packages (JorgeCostaMacia.Http.*).

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages