One of the smaller NUGET packages I’ve published in the last few years is CG.Retry. This package contains a single utility class, named RetryHelper, which simplifies the process of retrying blocks of code. Here’s a quick example:
public class Example
new RetryHelper(3).Execute(() =>
// Do something here that might throw exceptions.
Background Last time I wrote about a Repository extension for my Builder library. This time I thought I would write about my Policy extension. The word Policy is a bit overused in software development so let’s just say that my […]
Photo by Sharon McCutcheon on Unsplash Last time I wrote about a Strategy extension for my Builder library that makes it easier to separate my algorithm implementations from my Providers. The Strategy / Builder combination is a good fit, but, things could be […]