You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner.
We are now a member of the [.NET Foundation](https://www.dotnetfoundation.org/about)!
8
+
We are a member of the [.NET Foundation](https://www.dotnetfoundation.org/about)!
9
9
10
10
**Keep up to date with new feature announcements, tips & tricks, and other news through [www.thepollyproject.org](http://www.thepollyproject.org)**
11
11
@@ -17,15 +17,6 @@ We are now a member of the [.NET Foundation](https://www.dotnetfoundation.org/ab
17
17
18
18
Install-Package Polly
19
19
20
-
You can install the Strongly Named version via:
21
-
22
-
Install-Package Polly-Signed
23
-
24
-
.NET4.0 support is provided via the packages:
25
-
26
-
Install-Package Polly.Net40Async
27
-
Install-Package Polly.Net40Async-Signed
28
-
29
20
30
21
# Resilience policies
31
22
@@ -916,10 +907,15 @@ This allows collections of similar kinds of policy to be treated as one - for ex
916
907
917
908
Formoredetailsee: [Pollyandinterfaces](https://github.com/App-vNext/Polly/wiki/Polly-and-interfaces) on wiki.
918
909
910
+
# .NET4.5 support
911
+
912
+
FromPollyv6.0.0, .NET4.5supportisprovided [via the .Net Standard 1.1 target](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support).
913
+
914
+
Pollyversionsupto [v5.9.0](https://www.nuget.org/packages/Polly/5.9.0) have direct target support for .NET Framework 4.5.
919
915
920
916
# .NET4.0 support
921
917
922
-
The .NET4.0packageuses `Microsoft.Bcl.Async` toaddasyncsupport. TominimisedependenciesonthemainPollynugetpackage, the .NET4.0versionisavailableasseparateNugetpackages `Polly.Net40Async` and `Polly.Net40Async-signed`.
918
+
ThelastversionofPollytosupport.NET4.0 is [v5.9.0](https://www.nuget.org/packages/Polly.Net40Async/5.9.0). The .NET4.0 package uses `Microsoft.Bcl.Async` to add async support. To minimise dependencies on the main Polly nuget package, the .NET4.0 version is available as separate Nuget packages `Polly.Net40Async` and `Polly.Net40Async-signed`.
923
919
924
920
# .NET3.5 support
925
921
@@ -934,9 +930,9 @@ For details of changes by release see the [change log](https://github.com/App-vN
934
930
* [FluentAssertions](https://github.com/fluentassertions/fluentassertions) - A set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test | [Apache License 2.0 (Apache)](https://github.com/dennisdoomen/fluentassertions/blob/develop/LICENSE)
935
931
* [xUnit.net](https://github.com/xunit/xunit) - Free, open source, community-focused unit testing tool for the .NET Framework | [Apache License 2.0 (Apache)](https://github.com/xunit/xunit/blob/master/license.txt)
* [StephenCleary's AsyncEx library](https://github.com/StephenCleary/AsyncEx) for AsyncSemaphore (supports BulkheadAsync policy for .NET4.0 only) | [MIT license](https://github.com/StephenCleary/AsyncEx/blob/master/LICENSE)
939
-
* [@theraot](https://github.com/theraot)'s [ExceptionDispatchInfo implementation for .NET4.0](https://stackoverflow.com/a/31226509/) (supports Timeout policy for .NET4.0 only) including also a contribution by [@migueldeicaza](https://github.com/migueldeicaza) | Licensed under and distributed under [Creative Commons Attribution Share Alike license](https://creativecommons.org/licenses/by-sa/3.0/) per [StackExchange Terms of Service](https://stackexchange.com/legal)
* [StephenCleary'sAsyncExlibrary](https://github.com/StephenCleary/AsyncEx) for AsyncSemaphore (supports BulkheadAsync policy for .NET4.0 only) (until Polly v5.9.0) | [MIT license](https://github.com/StephenCleary/AsyncEx/blob/master/LICENSE)
935
+
* [@theraot](https://github.com/theraot)'s [ExceptionDispatchInfo implementation for .NET4.0](https://stackoverflow.com/a/31226509/) (supports Timeout policy for .NET4.0 only) (until Polly v5.9.0) including also a contribution by [@migueldeicaza](https://github.com/migueldeicaza) | Licensed under and distributed under [Creative Commons Attribution Share Alike license](https://creativecommons.org/licenses/by-sa/3.0/) per [StackExchange Terms of Service](https://stackexchange.com/legal)
940
936
*Buildpoweredby [Cake](http://cakebuild.net/) and [GitVersionTask](https://github.com/GitTools/GitVersion).
941
937
942
938
# Acknowledgements
@@ -993,6 +989,7 @@ For details of changes by release see the [change log](https://github.com/App-vN
993
989
* [@erickhouse](https://github.com/erickhouse) - Add a new onBreak overload that provides the prior state on a transition to an open state.
994
990
* [@benagain](https://github.com/benagain) - Bug fix: RelativeTtl in CachePolicy now always returns a ttl relative to time item is cached.
995
991
* [@urig](https://github.com/urig) - Allow TimeoutPolicy to be configured with Timeout.InfiniteTimeSpan.
992
+
* [@reisenberger](https://github.com/reisenberger) - Integration with [IHttpClientFactory](https://github.com/aspnet/HttpClientFactory/) for ASPNET Core 2.1.
0 commit comments