csharpfritz / csharpfritz/SampleHttpClient
please extend to enlighten correct use of HttpClientFactory
未关闭
- 主要语言
- C#
- 星标
- 6
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
There is improving slew of guidance for ASP.NET (with all its built-in DI et al) but not simple .NET examples (this SampleHttpClient is happy exception KISS KISS).
What I would like is a minimal (real-world ish not minimalist) example to include HttpClientFactory, showing how to configure the Polly policies (retry/cctbreaker/bulkhead) to cope with normal fragile networks.
Perhaps using GenericHost (https://github.com/guardrex) for DI plumbing
TIA
Dick
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。