Fork me on GitHub

Debugging with Polly in Visual Studio

Overview

When you define a Polly exception-handling policy, the policy will internally catch matched exceptions and handle them as the policy defines: orchestrate a retry; update circuit-breaker statistics; or channel execution to a fallback.

Debugging such executions can however be noisy in Visual Studio: commonly-used settings cause Visual Studio to

Continue Reading

Using Execution Context in Polly

TL;DR In Polly V5.1.0, we've extended Context so that it can be used to pass information between different parts of an execution through a policy. Featured Use Cases include honouring RetryAfter headers, and re-establishing authentication automatically.


Why Context?

Web request frameworks in .NET such as ASP.NET

Continue Reading