Creating a CLI tool with dotnet & Spectre.Console.Cli


Posted on Sunday, 17 March 2024

When building CLI tools it can feel like there is a lot of ceremony in creating command line argument parsers and setting up your project just to get to the stage where you start coding your feature/business logic. This is where Spectre.Console.Cli comes in. It's a very opinionated library for paring command line arguments and structuring your project using established industry conventions.

Read

Testing powershell scripts with Pester


Posted on Saturday, 17 February 2024

In the realm of PowerShell scripting, ensuring that your scripts function as expected is crucial. With the introduction of Pester, a testing framework for PowerShell, developers can automate the testing process, ensuring code reliability and reducing the likelihood of bugs in their scripts. In this guide, we'll explore the basics of Pester and demonstrate its usage through a practical example.

Read

Azure Pipelines with Stage Templates


Posted on Saturday, 17 February 2024

Optimizing pipelines for efficiency and scalability is paramount. Azure Pipelines, with its YAML-based configuration, offers a robust framework for orchestrating complex workflows. In this blog post, we'll explore the advantages of harnessing YAML templates specifically for defining stages in Azure Pipelines, using a practical example to illustrate their effectiveness.

Read

Exploring Software Development Techniques & Methodologies


Posted on Friday, 9 February 2024

I was perusing over some of my old blog posts because I was curious what I had written before. The one blog post that stood out most to me was top development books, not because I thought it was great, but because I had mentioned certain books that I knew had a polarizing effect on people, like Clean Code: A Handbook of Agile Software Craftsmanship from "Uncle Bob" although at the time I was unaware.

Read

5 steps for publishing a dotnet tool to nuget.org


Posted on Monday, 5 February 2024

In this blog post I'll go over the steps on how to publish a dotnet tool on NuGet.org. Thanks to NuGet.org, the process of publishing a .NET tool has been streamlined for simplicity and efficiency allowing developers to easily install the dotnet tool using the dotnet tool install command.

Read

HTTP Files


Posted on Tuesday, 30 January 2024

If you've used the dotnet 8 templates for creating an API you might have noticed a new file type, a .http file. This blog post explores this new file and how we can use it.

Read

Green software for practitioners (LFC131)


Posted on Saturday, 13 January 2024

Green software for practitioners (LFC131) is a free training course offered by the linuxfoundation.org that introduces you to the basic concepts a software practitioner needs to know to build, maintain and run greener applications. At least that's what the tag line says.

Read

Running tests in parallel with xunit


Posted on Saturday, 30 December 2023

Running tests in parallel offers several advantages that contribute to the efficiency and effectiveness of the software development process, without going too much into depth of the benefits of running tests in parallel, here's are short list of why you might want to execute tests in parallel:

Read