Recent

Simplify MSBuild Directory.Build.props and .targets files with vertical slices
Use vertical slices / features as an organization mechanism and make Directory.Build.props and .targets files easier to work with

Implementing IOptionsFactory to create custom options instances
·387 words·2 mins
Recently, I was writing a .NET console app to integrate with a third-party library and had an opportunity to use the IOptions pattern. However, the settings object didn’t have a public, parameterless constructor. Here’s how I used IOptionsFactory to support these types of options classes…

Running post setup commands on Azure VMs with SetupComplete2
Trying to enable the Administrator account on a custom VM image for Azure lead down a rabbit hole

Programmatically skip / ignore tests in MSTest v2
Create a custom attribute to extend MSTest to programmatically skip / ignore tests based on factors like OS or framework version

A 2017 Squamish 50/50 race report
·4606 words·22 mins
Team RunRun has a tradition of writing race reports, both as an opportunity for reflection, and to share lessons learned with other runners. I decided to write a longer-than-usual report because in planning for this race I felt there wasn’t a lot of information about the Squamish races available.
