C# New Features


Standalone C# Discards For Argument Null Checking

Microsoft introduced discards in C# 7.0 These are variables that are intentionally unused in code, commonly used when you have to provide a variable but you never actually need it. One of my go-to...

DataDog SQL Metric Graph


Datadog Custom Metric SQL Query Monitoring

Out of the box, Datadog isn’t able to run custom queries against a local or cloud-hosted SQL database and report metrics. In my case, I needed to check the row count of a table...

Azure Blob Storage Content Type

Azure, DevOps

Recursively Set Blob Content Types on Azure Storage Using PowerShell

Recently I’ve needed to programmatically set Azure Blob content types with Powershell. I needed to set the content type on all blobs in all containers in Azure Storage. By default, if not provided when...

HAProxy & ASP.NET Core

DevOps, Programming

ASP.NET Core Reverse Proxy Support With HAProxy

I’ve recently worked on many APIs that were developed using .NET Core, ASP.NET Core 2.2 to be exact. A Microsoft Azure hosted Kubernetes cluster (AKS) is used to host the web app using HAProxy...

IIS Logs Parser


IIS Logs Parser – Get Top Hostnames by Date and Time

A while back I needed to parse our IIS logs to see our top hostname traffic between a specified date and time range. The simple IIS log parser snippet allows just this. Change the...

Azure CLI - List Subscriptions


Using the Azure Cloud Shell with Multiple Subscriptions

If you’re working with Azure, then chances are you’ve used the Azure Cloud Shell. This handy tool means you can run azure commands from a couple of clicks from within the portal. But if...

Azure Standard Load Balancer NAT Rules


Azure VM – No Internet Access When Behind a Standard Load Balancer

No internet access on your Azure VM? If you're using a standard load balancer this could be why!

Azure Automation Runbooks


Azure Automation – VM Automatic On/Off Schedules

My first look into Azure Automation Accounts with VM On/Off Runbooks

Azure, Programming

Azure WebJobs & .NET Core

An introduction into Azure WebJobs using the Azure WebJobs Preview SDK with .NET Core