32 bit container app in Azure

How to deploy Windows x86 .NET 8 app as a container in Azure

If you’re deploying a Windows x86 (32-bit) .NET app, you’re probably used to hosting it on a VM with IIS. While deploying the same app as a container is possible, it’s not straightforward. This post will walk you through deploying a 32-bit .NET 8 app as a container in Azure using Azure App Service. TLDR; Find the code here: github. Creating the Dockerfile The first step is to create a Docker image for the app....

December 8, 2024 · 5 min · LPains
Sharp Cert Manager with Azure Container App Jobs

How to track TLS certificates with Sharp Cert Manager and Azure Container App Jobs

Few things are worse than discovering a TLS certificate has expired without warning. Expired certificates can lead to unexpected downtime, loss of customer trust, and plenty of frustration. To avoid these problems, it’s essential to keep track of your certificates and renew them ahead of time. While many rely on calendar reminders to manage this, manual tracking often isn’t enough. Automating the process is a far more reliable solution. In this post, I’ll show you how to automate TLS certificate monitoring using sharp-cert-manager with Azure Container App Jobs....

November 3, 2024 · 3 min · LPains
Docx to Markdown

How to convert DOCX files to Azure DevOps wiki using Documorph

Azure DevOps wikis provide a simple and effective way to document your projects. Personally, I love how easy they are to create and maintain. Plus, you get built-in search and the ability to manage your wiki using Git. However, if you already have documentation in Word documents, converting them to markdown for wiki use can be a bit tricky. That’s where Documorph comes in. Documorph is an open-source .NET global tool that converts ....

October 19, 2024 · 3 min · LPains
Handing down the keys

Bulk Adding Owners to Azure App Registrations and Enterprise Apps with AZ CLI

Managing multiple Azure App Registrations and Enterprise apps can be overwhelming, especially when you need to add owners manually. To save time, I’ve created a PowerShell script that lets you bulk add owners to Azure App Registrations and Enterprise apps. This is useful when you have a list of users to assign as owners across several apps. VERY IMPORTANT SECURITY NOTICE: adding owners to app registrations and enterprise apps is a risky operation....

October 5, 2024 · 3 min · LPains
Image generated by ChatGPT based on post content

Sharp Cooking - How to upgrade Python Azure Functions from v1 to v2

For a while, I’ve been using Python Azure Functions to power the Sharp Cooking Backend API. When I first created the API, the v2 programming model was still in preview and not fully ready. Now that it’s generally available, I finally upgraded. The v2 model reduces boilerplate code and adds features that weren’t previously possible—such as streaming responses, which is great for LLM models. Here’s a quick overview of the process and what changed....

September 10, 2024 · 3 min · LPains