csharpfritz / csharpfritz/SampleHttpClient

please extend to enlighten correct use of HttpClientFactory

Ouverte
#1 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
6
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.