A collection of .NET libraries for HTTP caching, structured field values, message signatures, and trusted-proxy forwarding.
Note
Projects are new and being dog-fooded. If you try any of them out feedback would be appreciated!
| Package | Description | NuGet | Downloads |
|---|---|---|---|
| DamianH.HttpHybridCacheHandler | RFC 9111 client-side HTTP caching handler for HttpClient |
||
| DamianH.FileDistributedCache | File-based IDistributedCache / IBufferDistributedCache for zero-infrastructure persistent caching |
||
| DamianH.Http.StructuredFieldValues | RFC 8941/9651 parser, serializer, and POCO mapper for HTTP Structured Field Values | ||
| DamianH.Http.HttpSignatures | RFC 9421 HTTP Message Signatures for signing and verifying HTTP messages | ||
| DamianH.Http.ForwardedHeaders | RFC 7239 Forwarded parser and trusted-proxy middleware for ASP.NET Core |
The HTTP cache also has separately versioned content-store packages for Azure Blob Storage, Amazon S3, Google Cloud Storage, and local files, sharing a provider-independent ContentStore package. Cloud adapters use official SDKs.
hybrid-cache-handler/ # RFC 9111 HTTP caching DelegatingHandler
file-distributed-cache/ # File-based IDistributedCache implementation
structured-field-values/ # RFC 8941/9651 structured field values
signatures/ # RFC 9421 HTTP message signatures
forwarded-headers/ # RFC 7239 Forwarded parser and ASP.NET Core middleware
Each lib has its own build script and solution filter:
dotnet run signatures/build.cs -- build # or: forwarded-headers, structured-field-values, hybrid-cache-handler, file-distributed-cache
dotnet build http-lib.slnx # everythingdotnet run signatures/build.cs -- test # per lib
dotnet test http-lib.slnx # everythingMIT — see LICENSE.
Bug reports should be accompanied by a reproducible test case in a pull request.