csharpfritz / csharpfritz/SampleHttpClient

please extend to enlighten correct use of HttpClientFactory

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
6
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.