Our great sponsors
-
Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Look into Polly resilience library. You can do much more with it, like automatic retries etc.
Usually I'm very reluctant to use 3rd party libraries, but I made very good experience with the Flurl library. It is a lightweight wrapper around the HttpClient, with a minimum of dependencies, and it makes the code so much more readable.
Related posts
- Http calls on mobile, what is the preferred way / best practice
- Building a Gateway to Netflix API: A Developer's Guide
- [Question] HttpClient does not recover from error
- Serilog with Enrich.WithExceptionDetails() causing Maximum destructuring depth reached on FlurlHttpException
- Integration Testing Confusion?