Hexalith.Commons.Http
3.0.0
dotnet add package Hexalith.Commons.Http --version 3.0.0
NuGet\Install-Package Hexalith.Commons.Http -Version 3.0.0
<PackageReference Include="Hexalith.Commons.Http" Version="3.0.0" />
<PackageVersion Include="Hexalith.Commons.Http" Version="3.0.0" />
<PackageReference Include="Hexalith.Commons.Http" />
paket add Hexalith.Commons.Http --version 3.0.0
#r "nuget: Hexalith.Commons.Http, 3.0.0"
#:package Hexalith.Commons.Http@3.0.0
#addin nuget:?package=Hexalith.Commons.Http&version=3.0.0
#tool nuget:?package=Hexalith.Commons.Http&version=3.0.0
Hexalith.Commons.Http
Domain-agnostic typed HttpClient dependency-injection registration with endpoint-options validation.
HttpClientRegistration.AddTypedHttpClient<TClient, TImplementation, TOptions>(...) extracts the duplicated
AddXxxClient() pattern shared by Hexalith module clients. A domain module supplies only the client
interface, the typed implementation, its options type, and an endpoint selector; the helper owns
registration, options validation, and the returned IHttpClientBuilder (so callers can chain message
handlers such as a bearer-token DelegatingHandler).
Validation
- The endpoint must be an absolute URI.
- When
requireWebScheme: true, the endpoint must use thehttporhttpsscheme. - Validation timing is selectable:
HttpClientEndpointValidation.OnResolve(default) — lazy, viaIOptions<TOptions>.Validate(the Folders/Projects shape).HttpClientEndpointValidation.OnRegistration— eager, throwingInvalidOperationExceptionimmediately (the Conversations shape, the stronger guarantee).
Example
services.AddTypedHttpClient<IConversationClient, ConversationClient, ConversationClientOptions>(
configure,
static options => options.Endpoint,
HttpClientEndpointValidation.OnRegistration,
requireWebScheme: true);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Hexalith.Commons.Http:
| Package | Downloads |
|---|---|
|
Hexalith.Parties.Client
DAPR-native party management microservice for .NET |
|
|
Hexalith.Conversations.Client
Thin .NET client package boundary for Hexalith Conversations adopter integrations. |
|
|
Hexalith.Parties.Picker
Embeddable Blazor party picker component for Hexalith.Parties. |
|
|
Hexalith.Parties.ConsumerPortal
FrontComposer-hosted Blazor consumer portal for Hexalith.Parties. |
|
|
Hexalith.Parties.AdminPortal
FrontComposer-hosted Blazor administration portal for Hexalith.Parties. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 437 | 11/12/2026 |
| 2.30.11 | 74 | 11/12/2026 |
| 2.30.10 | 2,581 | 11/1/2026 |
| 2.30.9 | 98 | 11/1/2026 |
| 2.30.8 | 392 | 11/1/2026 |
| 2.30.7 | 399 | 10/30/2026 |
| 2.30.6 | 100 | 10/30/2026 |
| 2.30.5 | 105 | 10/30/2026 |
| 2.30.4 | 96 | 10/30/2026 |
| 2.30.3 | 2,308 | 10/18/2026 |
| 2.30.1 | 1,554 | 9/19/2026 |
| 2.30.0 | 914 | 8/1/2026 |
| 2.29.0 | 150 | 7/26/2026 |
| 2.28.2 | 158 | 7/16/2026 |
| 2.28.1 | 279 | 7/12/2026 |
| 2.28.0 | 146 | 7/9/2026 |