.NET 5.0 resilient HTTP client with Polly and Flurl

Photo by Michael Dziedzic on Unsplash

Applications that consume/produce any kind of data to remote servers (Apis) must have a policy to deal with transient faults. Transient faults are types of failures that are temporary and it’s likely to disappear soon, like package loss, network connectivity issues, etc.

Our application should not crash on behavior in the wrong way when some of these failures occur. We can…