LATEST ARTICLES

Builder.cs: Dependency Configuration I can't take credit for this pattern but some co-workers of mine showed me this and I absolutely fell in love with this pattern. Instead of creating an extensions folder and adding all of the configuration classes...
IdentityServer: Token Exchange This custom Token Exchange Grant Flow allows IdentityServer to exchange a reference token through the creation of a new JWT token. There are many reasons why this may need to be done. The documentation on this process...
.NET Microservices: Project Structure with Git Submodules After working in microservice architecture for many years I have concluded there are many different strategies to project structures. In some cases, these solutions share libraries, and code, and may rely on one...
Resetting SA Password in MSSQL Server Docker 2022 This was a bit tricky, so I thought I would share how this can actually be done. I found this difficult for several reasons. For one, SQL Server must be stopped for...
Istio: Missing App and Version Label If you are seeing the error in Istio's Kialia that says that the app and version label are missing from the deployment then this post will help you. Istio needs an app and version...
.NET: Open Policy Agent (OPA) with Styra DAS Open Policy Agent (OPA), pronounced "oh-pha", is an incredible technology for decoupling authorization from applications. Styra the company that creates and maintains OPA has a tool called Styra DAS that provides a...
Upgrade Ubuntu Server (21.10) to the Latest Version This guide will walk through upgrading an Ubuntu Server (21.10) to the latest version. This is very easy but there are some caveats that need addressing along the process. Update Software It's important to...
.NET: Unit Testing Azure Service Bus Unit testing an Azure Service Bus consumer is fairly easy. In this tutorial, I will use .NET6, Moq (v4), and Fluent Assertions. The difficult part is constructing the ServiceBusMessageReceived because it has only internal...