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 ASPNET 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.
Podcasts
- June 2018: DotNetRocks 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 NoDogmaBlog 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 backoff. Stability patterns. Bulkhead isolation. Future directions (as at April 2017).
PluralSight course
- Bryan Hogan of the NoDogmaBlog 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 Http Client Factory. 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 microservices architecture and e-book
Sample microservices architecture
- Cesar de la Torre produced the Microsoft eShopOnContainers project, a sample project demonstrating a .NET Microservices architecture. The project uses Polly retry and circuit-breaker policies for resilience in calls to microservices, and in establishing connections to transports such as RabbitMQ.
e-book
- Accompanying the project is a .NET Microservices Architecture ebook 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 Standup April 24, 2018: Damian Edwards, Jon Galloway and Scott Hanselman discuss Scott Hanselman's blog on Polly with IHttpClientFactory and the Polly team documentation on IHttpClientFactory. Interesting background discussion also on feature richness and the importance of good documentation.