Twitter

Categories

.NET

.NET Core MVC: regex routing with named groups

One of the big advantages of the .Net regular expression implementation is named groups.  Today I want to show how to leverage named regular expression groups to build a routing constraint that will map each group value to a named route value.

Automation

Taming Unit Test logging in Docker pipeline for .NET

The main problem of a CI/CD pipeline – in my opinion – is logging. When it logs too little you don’t know what’s going on, when it logs to much you can’t see the trees to the forest. Having too much logging can seriously impact the effectiveness of your CI/CD pipeline. This script will improve Xunit unit test output.