Polly 4.1.2

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

Release Notes

    4.1.2
    ---------------------
    - Fixed an issue with the onReset delegate of the CircuitBreaker.
    
    4.1.1
    ---------------------
    - Add ExecuteAndCapture support with arbitrary context data - Thanks to @reisenberger
    
    4.1.0
    ---------------------
    - Add Wait and retry forever policy - Thanks to @nedstoyanov
    - Remove time-limit on CircuitBreaker state-change delegates - Thanks to @reisenberger
    
    4.0.0
    ---------------------
    - Add async support and circuit-breaker support for ContextualPolicy
    - Add manual control of circuit-breaker (reset and manual circuit isolation)
    - Add public reporting of circuit-breaker state, for health/performance monitoring
    - Add delegates on changes of circuit state - Thanks to @reisenberger
    
    3.0.0
    ---------------------
    - Add cancellation support for all async Policy execution - Thanks to @reisenberger
    
    2.2.7
    ---------------------
    - Fixes an issue where continueOnCapturedContext needed to be specified in two places (on action execution and Policy configuration), when wanting to flow async action execution on the captured context - Thanks to @reisenberger
    - Fixes excess line ending issues
    
    2.2.6
    ---------------------
    - Async sleep fix, plus added continueOnCapturedContext parameter on async methods to control whether continuation and retry will run on captured synchronization context - Thanks to @yevhen
    
    2.2.5
    ---------------------
    - Policies with a retry count of zero are now allowed
    
    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
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.1.1 851,789 9/2/2019
7.1.0 3,861,354 3/13/2019
7.0.3 417,631 2/21/2019
7.0.2 242,906 2/11/2019
7.0.1 36,318 2/9/2019
6.1.2 2,093,874 11/27/2018
6.1.1 436,947 11/12/2018
6.1.0 2,975,095 7/15/2018
6.0.1 4,590,989 5/6/2018
6.0.0-v6alpha0001 4,305 5/3/2018
5.9.0 1,180,321 4/9/2018
5.8.0 1,557,990 1/31/2018
5.7.0 360,354 1/6/2018
5.6.1 534,371 11/29/2017
5.6.0 64,793 11/27/2017
5.5.0 427,161 11/3/2017
5.4.0 46,667 11/1/2017
5.3.1 1,032,744 8/6/2017
5.3.0 130,641 7/27/2017
5.2.0 237,170 6/28/2017
5.1.1-v5-x-cachealpha0001 50,965 6/2/2017
5.1.0 461,081 5/4/2017
5.0.6 487,084 2/11/2017
5.0.5 237,917 2/4/2017
5.0.3 165,875 1/6/2017
5.0.2-v5-0-alpha0001 12,611 11/22/2016
5.0.1-v5-0-alpha0001 13,903 10/25/2016
4.5.0-beta-netstandar-0001 24,223 9/6/2016
4.3.0 1,212,637 6/30/2016
4.2.4 27,377 6/17/2016
4.2.3 24,971 6/7/2016
4.2.2 9,859 6/2/2016
4.2.1 76,142 5/26/2016
4.2.0 97,456 4/14/2016
4.1.2 240,340 3/17/2016
4.1.1 22,361 3/11/2016
4.1.0 4,594 3/10/2016
4.0.0 61,194 2/18/2016
3.0.0 51,725 1/11/2016
2.2.7 22,722 1/1/2016
2.2.6 4,953 12/30/2015
2.2.5 11,852 12/28/2015
2.2.4 35,334 12/3/2015
2.2.3 125,521 8/9/2015
2.2.2 47,817 6/2/2015
2.2.1 42,311 2/15/2015
2.2.0 19,603 1/25/2015
2.1.0 21,438 11/28/2014
2.0.0 20,019 3/13/2014
1.1.0 6,171 6/16/2013
1.0.0 5,301 5/5/2013
Show less