Polly 2.2.3

Polly is a .NET 3.5 / 4.0 / 4.5 / PCL library (Profile 259) that allows developers to express transient exception handling policies such as Retry, Retry Forever, Wait and Retry or Circuit Breaker in a fluent manner.

There is a newer version of this package available.
See the version list below for details.
Install-Package Polly -Version 2.2.3
dotnet add package Polly --version 2.2.3
<PackageReference Include="Polly" Version="2.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Polly --version 2.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

2.2.3
---------------------
- Fix PCL implementation of `SystemClock.Reset`
- Added ability to capture the results of executing a policy via `ExecuteAndCapture`

2.2.2
---------------------
- Added extra `NotOnCapturedContext` call to prevent potential deadlocks when blocking on asynchronous calls

2.2.1
---------------------
- Replaced non-blocking sleep implementation with a blocking one for PCL

2.2.0
---------------------
- Added Async Support (PCL)
- PCL Profile updated from Profile78 ->  Profile 259
- Added missing WaitAndRetryAsync overload

2.1.0
---------------------
- Added Async Support (.NET Framework 4.5 Only)

2.0.0
---------------------
- Added Portable Class Library
- The "Polly" NuGet package is now no longer strongly named. The strongly named NuGet package is now "Polly-Signed"

1.1.0
---------------------
- Added additional overloads to Retry
- Allow arbitrary data to be passed to policy execution

Dependencies

This package has no dependencies.

Showing the top 10 GitHub repositories that depend on Polly:

Repository Stars
dotnet-architecture/eShopOnContainers
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET Core 3.0, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
ThreeMammals/Ocelot
.NET core API Gateway
dotnetcore/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. The service engine supports http, TCP, WS,Grpc, Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
JosefNemec/Playnite
Open source video game library manager with support for 3rd party libraries like Steam, GOG, Origin, Battle.net and Uplay. Including game emulation support, providing one unified interface for your games.
tidusjar/Ombi
Want a Movie or TV Show on Plex or Emby? Use Ombi!
Azure/azure-sdk-for-net
This repository is intended for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/en-us/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
BrighterCommand/Brighter
Command Dispatcher, Processor, and Distributed Task Queue
vietnam-devs/coolstore-microservices
A Kubernetes-based microservices application on service mesh

Version History

Version Downloads Last updated
7.2.0 28,546 11/27/2019
7.1.1 1,150,512 9/2/2019
7.1.0 4,209,854 3/13/2019
7.0.3 431,246 2/21/2019
7.0.2 257,631 2/11/2019
7.0.1 37,663 2/9/2019
6.1.2 2,181,796 11/27/2018
6.1.1 450,491 11/12/2018
6.1.0 3,060,969 7/15/2018
6.0.1 4,826,230 5/6/2018
6.0.0-v6alpha0001 4,368 5/3/2018
5.9.0 1,226,958 4/9/2018
5.8.0 1,589,189 1/31/2018
5.7.0 365,834 1/6/2018
5.6.1 541,312 11/29/2017
5.6.0 65,137 11/27/2017
5.5.0 434,777 11/3/2017
5.4.0 46,894 11/1/2017
5.3.1 1,049,906 8/6/2017
5.3.0 131,965 7/27/2017
5.2.0 239,739 6/28/2017
5.1.1-v5-x-cachealpha0001 50,981 6/2/2017
5.1.0 467,486 5/4/2017
5.0.6 492,001 2/11/2017
5.0.5 240,117 2/4/2017
5.0.3 167,650 1/6/2017
5.0.2-v5-0-alpha0001 12,623 11/22/2016
5.0.1-v5-0-alpha0001 13,979 10/25/2016
4.5.0-beta-netstandar-0001 24,277 9/6/2016
4.3.0 1,227,389 6/30/2016
4.2.4 27,465 6/17/2016
4.2.3 25,233 6/7/2016
4.2.2 10,098 6/2/2016
4.2.1 77,141 5/26/2016
4.2.0 98,644 4/14/2016
4.1.2 240,434 3/17/2016
4.1.1 22,578 3/11/2016
4.1.0 4,607 3/10/2016
4.0.0 61,635 2/18/2016
3.0.0 52,467 1/11/2016
2.2.7 22,954 1/1/2016
2.2.6 4,964 12/30/2015
2.2.5 11,952 12/28/2015
2.2.4 35,714 12/3/2015
2.2.3 126,612 8/9/2015
2.2.2 48,271 6/2/2015
2.2.1 42,871 2/15/2015
2.2.0 19,815 1/25/2015
2.1.0 21,542 11/28/2014
2.0.0 20,073 3/13/2014
1.1.0 6,191 6/16/2013
1.0.0 5,425 5/5/2013
Show less