Substantive.Extensions.Http 9.14.4-build20251224r1
XXX is a library for YYY.
Installation
1. Add configuration to the appsettings.json
Add below configuration.
"HttpClientSettings": {
"HttpClientOptions": [
{
"Name": "ExampleClientV4",
"DefaultRequestHeaders": {
"Accept": "application/json"
},
"HttpClient": {
"BaseAddress": "https://example2.com/"
},
"HttpClientHandler": {
"AllowAutoRedirect": true,
"UseCookies": true
},
"UseSocketsHttpHandler": true,
"SocketsHttpHandler": {
"EnableMultipleHttp2Connections": true
},
"UseResilienceHandler": true,
"ResilienceHandlerOptions": {
"StrategyName": "SampleResilince",
"Retry": {
"MaxRetryAttempts": 5,
"Delay": "00:00:02",
"BackoffType": "Exponential",
"UseJitter": true
},
"CircuitBreaker": {
"SamplingDuration": "00:00:15",
"FailureRatio": 0.5,
"MinimumThroughput": 20,
"DurationOfBreak": "00:00:30"
},
"Timeout": {
"Timeout": "00:00:05"
}
},
"PerRequestHandlers": [
"ProblemDetailsHandler",
"ODataUnwrappingHandler",
"SubstantiveResponseUnwrappingHandler"
]
}
]
},
"AuthenticationApiKeyOptions": {
"ApiKey": "some_key",
"ApiKeyHeaderName" :"x-api-key"
}
2. Load configuration and add dependencies to the program.cs
Pending
Usage
Pending
FAQs and Troubleshoots
Question1
Answer1
Showing the top 20 packages that depend on Substantive.Extensions.Http.
| Packages | Downloads |
|---|---|
|
Substantive.AspNetCore
Package Description
|
43 |
|
Substantive.AspNetCore
Package Description
|
90 |
|
Substantive.AspNetCore
Substantive ASP.NET Core package.
|
22 |
|
Substantive.AspNetCore
Substantive ASP.NET Core package.
|
23 |
|
Substantive.AspNetCore
Substantive ASP.NET Core package.
|
24 |
|
Substantive.AspNetCore
Substantive untitled internal package.
|
29 |
|
Substantive.AspNetCore
Substantive untitled internal package.
|
31 |
|
Substantive.AspNetCore
Substantive untitled internal package.
|
51 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
22 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
23 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
24 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
28 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
31 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
42 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
51 |
|
Substantive.AspNetCore.Middlewares
Collection of ASP.NET Core Middlewares
|
82 |
|
Substantive.AspNetCore.OData
Substantive internal package for ASP.NET Core backends OData.
|
21 |
|
Substantive.AspNetCore.OData
Substantive internal package for ASP.NET Core backends OData.
|
22 |
|
Substantive.AspNetCore.OData
Substantive internal package for ASP.NET Core backends OData.
|
23 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
26 |
.NET 10.0
- Substantive.Extensions.Configuration (>= 9.14.4-build20251224R1)
- Substantive.WebUtilities (>= 9.14.4-build20251224R1)
- Microsoft.AspNetCore.HeaderPropagation (>= 10.0.1)
- Microsoft.Extensions.Http (>= 10.0.1)
- Microsoft.Extensions.Http.Resilience (>= 10.1.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
- Microsoft.Extensions.ServiceDiscovery (>= 10.1.0)
- Microsoft.Extensions.ServiceDiscovery.Abstractions (>= 10.1.0)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- Refit (>= 9.0.2)
- Refit.HttpClientFactory (>= 9.0.2)
- ZstdSharp.Port (>= 0.8.6)