Polly 2.2.4

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.4
dotnet add package Polly --version 2.2.4
<PackageReference Include="Polly" Version="2.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Polly --version 2.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

    2.2.4
    ---------------------
    - Add .NET Core support     

    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

  • .NETFramework 0.0

    • No dependencies.
  • .NETPlatform 5.0

  • MonoAndroid 0.0

    • No dependencies.
  • MonoTouch 0.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.
  • Windows 0.0

    • No dependencies.
  • WindowsPhone 0.0

    • No dependencies.
  • WindowsPhoneApp 0.0

    • No dependencies.
  • Xamarin.iOS 0.0

    • No dependencies.

Showing the top 10 GitHub repositories that depend on Polly:

Repository Stars
dotnet-architecture/eShopOnContainers
Easy to get started sample reference microservice and container based application. Cross-platform on Linux and Windows Docker Containers, powered by .NET Core 2.2, Docker engine and optionally Azure, Kubernetes or Service Fabric. 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
Microsoft 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.1.1 737,920 9/2/2019
7.1.0 3,726,342 3/13/2019
7.0.3 411,166 2/21/2019
7.0.2 237,797 2/11/2019
7.0.1 35,719 2/9/2019
6.1.2 2,058,339 11/27/2018
6.1.1 432,152 11/12/2018
6.1.0 2,936,801 7/15/2018
6.0.1 4,498,901 5/6/2018
6.0.0-v6alpha0001 4,285 5/3/2018
5.9.0 1,162,677 4/9/2018
5.8.0 1,544,673 1/31/2018
5.7.0 357,830 1/6/2018
5.6.1 531,310 11/29/2017
5.6.0 64,711 11/27/2017
5.5.0 424,280 11/3/2017
5.4.0 46,553 11/1/2017
5.3.1 1,025,947 8/6/2017
5.3.0 130,131 7/27/2017
5.2.0 236,045 6/28/2017
5.1.1-v5-x-cachealpha0001 50,959 6/2/2017
5.1.0 458,589 5/4/2017
5.0.6 485,205 2/11/2017
5.0.5 237,016 2/4/2017
5.0.3 165,171 1/6/2017
5.0.2-v5-0-alpha0001 12,599 11/22/2016
5.0.1-v5-0-alpha0001 13,890 10/25/2016
4.5.0-beta-netstandar-0001 24,210 9/6/2016
4.3.0 1,206,678 6/30/2016
4.2.4 27,328 6/17/2016
4.2.3 24,769 6/7/2016
4.2.2 9,793 6/2/2016
4.2.1 75,685 5/26/2016
4.2.0 97,037 4/14/2016
4.1.2 240,305 3/17/2016
4.1.1 22,280 3/11/2016
4.1.0 4,592 3/10/2016
4.0.0 61,039 2/18/2016
3.0.0 51,438 1/11/2016
2.2.7 22,638 1/1/2016
2.2.6 4,952 12/30/2015
2.2.5 11,812 12/28/2015
2.2.4 35,276 12/3/2015
2.2.3 125,199 8/9/2015
2.2.2 47,679 6/2/2015
2.2.1 42,134 2/15/2015
2.2.0 19,515 1/25/2015
2.1.0 21,375 11/28/2014
2.0.0 20,003 3/13/2014
1.1.0 6,168 6/16/2013
1.0.0 5,270 5/5/2013
Show less