Roger Jin Posted on Apr 5, 2017 Adding Auto-Retries to a C# API Client #api #csharp #dotnet #aspnet Top comments (3) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Mirco Bauer Mirco Bauer Mirco Bauer Follow Joined Apr 12, 2017 • Apr 12 '17 Dropdown menu Copy link Hide There is a small bug in the last line in last code block: return new AggregateException(...) Should be: throw new AggregateException(...) Collapse Expand Gabriel Robert Gabriel Robert Gabriel Robert Follow Joined Mar 20, 2017 • Apr 6 '17 Dropdown menu Copy link Hide Do you know the existence of Polly? It implements this pattern out of the box. Collapse Expand Roger Jin Roger Jin Roger Jin Follow Engineer at ButterCMS.com — develops with Ruby, Node.js, and React. Email me at roger@buttercms.com and I’ll definitely reply! Joined Mar 26, 2017 • Apr 6 '17 Dropdown menu Copy link Hide Wow, no I didn't! This is great. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
There is a small bug in the last line in last code block:
return new AggregateException(...)
Should be:
throw new AggregateException(...)
Do you know the existence of Polly? It implements this pattern out of the box.
Wow, no I didn't! This is great.