csharpfritz / csharpfritz/SampleHttpClient

please extend to enlighten correct use of HttpClientFactory

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。