Polly, the .NET resilience library, is not limited to HttpClient requests — it can be applied to any method call, whether it returns a value or not. This post demonstrates using Polly's retry policy with different return types including exceptions, int, IEnumerable, and bool, with code examples for each scenario.
1 Impression