Resources
This includes Blogs, podcasts, courses, e-books, architecture samples and videos around Polly. When we discover an interesting write-up on Polly, we'll add it to this list. If you have a blog post you'd like to share, please submit a PR!
Blog posts
- Adding a circuit breaker to your ASP.NET 6 application with Polly - by Lachlan Barclay
- Try .NET Samples of Polly, the .NET Resilience Framework - by Bryan Hogan
- Create exceptional interactive documentation with Try .NET - The Polly NuGet library did! - by Scott Hanselman (writing about the work of Bryan Hogan)
- Adding resilience and Transient Fault handling to your .NET Core
HttpClient
with Polly - by Scott Hanselman - Reliable Event Processing in Azure Functions - by Jeff Hollan
- Optimally configuring ASP.NET Core
HttpClientFactory
including with Polly policies - by Muhammad Rehan Saeed - Integrating
HttpClientFactory
with Polly for transient fault handling - by Steve Gordon - Resilient network connectivity in Xamarin Forms - by Adam Pedley
- Policy recommendations for Azure Cognitive Services - by Joel Hulen
- Using Polly with F# async workflows - by Mark Seemann
- Building resilient applications with Polly (with focus on Azure SQL transient errors) - by Geovanny Alzate Sandoval
- Azure SQL transient errors - by Mattias Karlsson
- Polly series on No Dogma blog - by Bryan Hogan
- Polly 5.0 - a wider resilience framework! - by Dylan Reisenberger
- Implementing the retry pattern in c sharp using Polly - by Alastair Crabtree
- NuGet Package of the Week: Polly wanna fluently express transient exception handling policies in .NET? - by Scott Hanselman
- Exception handling policies with Polly - by Mark Timmings
- When you use the Polly circuit-breaker, make sure you share your Policy instances! - by Andrew Lock
- Polly is Repetitive, and I love it! - by Joel Hulen
- Using the Context to Obtain the Retry Count for Diagnostics - by Steve Gordon
- Passing an
ILogger
to Polly Policies - by Steve Gordon - Using Polly and Flurl to improve your website - by Jeremy Lindsay.
- Exploring the Polly.Contrib.WaitAndRetry helpers - by Ben Hyrman, who also wrote most of the Polly.Contrib.WaitAndRetry documentation.
- Retries - An interactive study of common retry methods - by Sam Rose
- Building resilient cloud services with .NET 8 by Martin Tomka
- Resilience and chaos engineering by Martin Tomka
Podcasts
- June 2018: .NET Rocks features Polly as Carl Franklin and Richard Campbell chat with Dylan Reisenberger about policy patterns, and the new ASP NET Core 2.1 integration with
IHttpClientFactory
. - April 2017: Dylan Reisenberger sits down virtually with Bryan Hogan of No Dogma Blog for an Introduction to Polly podcast. Why do I need Polly? History of the Polly project. What do we mean by resilience and transient faults? How retry and circuit-breaker help. Exponential back-off. Stability patterns. Bulkhead isolation. Future directions (as at April 2017).
- December 2023: .NET Rocks - Polly V8 with Joel Hulen and Martin Costello - as Carl Franklin and Richard Campbell chat with Joel Hulen and Martin Costello about the release of Polly V8.
PluralSight course
- Bryan Hogan of the No Dogma Blog has authored a PluralSight course on Polly. The course takes you through all the major features of Polly, with an additional module added in the fall of 2018 on
HttpClientFactory
. The course examples are based around using Polly for fault tolerance when calling remote web services, but the principles and techniques are applicable to any context in which Polly may be used.
Sample micro-services architecture and e-book
Sample micro-services architecture
- Cesar de la Torre produced the Microsoft eShopOnContainers project, a sample project demonstrating a .NET Micro-services architecture. The project uses Polly retry and circuit-breaker policies for resilience in calls to micro-services, and in establishing connections to transports such as RabbitMQ.
e-book
- Accompanying the project is a .NET Micro-services Architecture e-book with an extensive section (section 8) on using Polly for resilience, to which Dylan Reisenberger contributed. The e-book and code is now (June 2018) updated for using the latest ASP NET Core 2.1 features, Polly with
IHttpClientFactory
.
Videos
- Robust Applications with Polly, the .NET Resilience Framework, Bryan Hogan introduces Polly and explains how to use it to build a fault tolerant application.
- From MVP Houssem Dellai, a YouTube video on How to use Polly with Xamarin Apps, covering wait-and-retry and discussing circuit-breaker policy with a demonstration in Xamarin Forms. Here is the source code of the application demonstrated in the video. Draws on the
ResilientHttpClient
from Microsoft's eShopOnContainers project. - In the video, .NET Rocks Live with Jon Skeet and Bill Wagner, Bill Wagner discusses Polly.
- Scott Allen discusses Polly during his Building for Resiliency and Scale in the Cloud presentation at NDC.
- ASP.NET Community Stand-up April 24, 2018: Damian Edwards, Jon Galloway and Scott Hanselman discuss Scott Hanselman's blog on Polly with
IHttpClientFactory
and the Polly team documentation onIHttpClientFactory
. Interesting background discussion also on feature richness and the importance of good documentation. - Ensuring Resilience with Polly - Visual Studio Toolbox Live - Martin Costello shows how you can use Polly, a .NET resilience and transient fault-handling library.