csharpfritz / csharpfritz/SampleHttpClient

please extend to enlighten correct use of HttpClientFactory

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
6
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.