Update a Blazor UI when a message is pushed to a RabbitMQ queue

Using RabbitMQ to act as a notification service with a Blazor UI.

Create TypeScript Next.js app that runs in a container

Use Yarn to create a TypeScript Next.js application that will build and run in Docker using a two-stage container.

Set up local Redis container

To set up a local Redis container that automatically starts up on reboot, run the following command: To include a UI, run the following command:

Yarn setup for Express API with TypeScript

This article talks through the process of setting up a basic Express API using TypeScript and Yarn for package management instead of NPM.

Bitbucket, SSH auth, Visual Studio and VS Code

To get SSH key authentication working with Bitbucket from with both Visual Studio 2019 (or earlier potentially) and VS Code can be challenging. Some commands I’ve used are below. VS Code Visual Studio Visual Studio 2022 doesn’t require additional changesRead More

Delete a Kubernetes Namespace Stuck “Terminating”

Run the following command, replacing my-namespace with the name of your namespace to delete. Solution found on Stack Overflow.

Kaniko Setup for an Azure DevOps Linux build agent

A guide to using Kaniko on a Kubernetes-hosted Azure DevOps build agent.

Build container from Visual Studio built Dockerfile

If you need to build a project using the Visual Studio generated Dockerfile, you need to run docker build from the solution folder and specify the file. Assuming the project you are working is called Your.Project.Api and this is theRead More

Longhorn Restart

If your Longhorn setup gets ‘stuck’, run this script to trigger a restart of all the Longhorn pods. If you wish to make this script executable, save it to a file (e.g. restart-longhorn.sh) and put the following as the firstRead More