Easily Create and Manipulate Mock Anonymous Data for Unit Tests

Looking to easily create mock data for unit testing, harnessing the power of AutoFixture, C#9 Records and the Builder Pattern to aid with consistency and maintainability.

April 20, 2021 · 8 min

Removing IOptions From Your Strongly Typed Configuration in Azure Functions

Want to strongly type your configuration but don’t like IOptions? Let’s take a look how to do this in Azure Functions.

April 13, 2021 · 2 min

Azure Functions Not Loading My Dependencies, What Have I Missed?

My dependencies and configuration weren’t being loaded into my new Azure Function application, what did I miss?

April 6, 2021 · 3 min

Why won't you load my configuration Azure Functions?

Loading configuration from local.settings.json didn’t work how I was expecting it to so had to extend the start up to load structured configuration from appsettings.json

March 30, 2021 · 5 min

Harness Azure CLI to Keep Your App Service Name

In this post we walk through the steps I used to delete and recreate an Azure App Service under a different App Service Plan using the Azure CLI so that I could keep the *.azurewebsites.net name for consistency.

March 23, 2021 · 5 min

Generating Date of Birth values for .NET5.0 Record types using AutoFixture

Ever needed to generate realistic date of birth values for your anoymous unit test data? Sick of setting the value manually and seeing your own date of birth propagate through codebases as developers copy ’n’ paste your example? Time to get AutoFixture to do the heavy lifting!

March 9, 2021 · 5 min

Default .NET 5.0 WeatherForecastController as an Azure Function

Looking into what it would take to implement the default aspnet web api template WeatherForecastController as an Azure Function.

February 23, 2021 · 4 min

Controlling The Logging Levels in Azure Functions

Looking into controlling the logging levels in Azure Functions.

February 16, 2021 · 4 min

Create Anonymous Data Object With AutoFixture From Type

Creating anonymous data using AutoFixture’s generic methods is great, but can you do it from a type?

February 2, 2021 · 3 min

Arrange, Act, Assert - Why I Still Comment Unit Tests

Using the Arrange, Act, Assert setup in unit tests, why do I still add the comments? Read on to find out.

January 26, 2021 · 4 min