Optional Dependencies with Autofac

Ever wanted to define a dependency as optional and only be loaded depending on consumption of your service?

June 30, 2020 · 6 min

Refactoring and Learning Challange

Taking up the challenge from a tweet I explain my thought process on improving some code which will hopefully help someone.

June 23, 2020 · 6 min

Using Moq Callback to set values to drive tests

How to set a value on an object passed to a mock to drive conditional logic further in the system under test

June 23, 2020 · 3 min

How To Assert Collection Count With FluentAssertions

Asserting numbers of items in a list or collection is vital to unit tests, but which to choose?

June 16, 2020 · 1 min

Getting Microsoft Feature Management Working in a Console App

Looking a the new version of Microsoft’s Feature Management nuget package and how to get it working in a console application without Azure!

May 19, 2020 · 4 min