Result Pattern
Previously I have always generated custom exceptions when I know that the state of the system will causes errors when running. Null checking method parameters at the start of a…Continue Reading …
.dev </>
Previously I have always generated custom exceptions when I know that the state of the system will causes errors when running. Null checking method parameters at the start of a…Continue Reading …
Branching pipelines with OWIN allow for several different request pipelines to be used as needed depending on a determining factor. This factor is most often a Hostname but it could…Continue Reading …
Services are great for performing reoccurring tasks, especially if the task needs to be repeated often, say every minute. They also have the benefit of not requiring anyone to be…Continue Reading …
Previously I have been writing health check controllers by hand. Now .netCore has a simple way of managing service health checks via middleware. You can test everything is operational all…Continue Reading …
Testing multiple scenarios through the same function can be a bit of a time sink. Writing out a method for each scenario and just changing the data passed into the…Continue Reading …
The upcoming C# 8.0 release came up the other day, or more specifically the inclusion of default implementations on interface methods. At first glance it seems akin to madness, blurring…Continue Reading …