Recent posts

ASP.NET Entra ID Authentication with Managed Identities

Security is critical these days and the removal of secrets is always a great thing. This blog post explains how to use Entra ID authentication with an ASP.NET app without client secrets using managed identities in Azure. At a high level, the following needs to be completed for this to work. Create a Using Assigned Managed identity in Azure Managed identity added as an identity to the web app Managed identity added to the Entra ID app using federated identity credentials Config section added to the web apps environment variables Please note, this ONLY works for resources published in Azure.

Read more →

June 18, 2024

Dynamically creating an IMG file with a FAT32 partition

I recently had a need to dynamically create an img file containing a FAT32 partition so its contents would be bootable on a PC. I had a heck of a time trying to put all the pieces together from different articles online. Alas, I came up with a working solution, so here it is. Enjoy! This solution is for Linux. It does not work on Windows, but will work on Windows Subsystem for Linux (WSL).

Read more →

October 27, 2023

Downloading individual files from an Azure DevOps pipeline artifact using the REST API

If you’ve come here, you know what you want. You want to be able to download individual files from an Azure DevOps pipeline artifact. The documentation makes no sense. So lets get straight to the point. First, I want to point out that this only works with PublishPipelineArtifact, and NOT with PublishBuildArtifacts I’ve created a demo pipeline for this post. It simply creates two text files and publishes them as a pipeline artifact.

Read more →

October 7, 2023