csharpfritz / csharpfritz/SampleHttpClient

please extend to enlighten correct use of HttpClientFactory

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.