Sharp Cooking extension

Sharp Cooking - recipe scraping improvements

One of the coolest features in Sharp Cooking is its ability to import recipes from a website. See a recipe you like? Just paste the URL into Sharp Cooking, and voilà! The recipe is imported and ready to use. But have you ever wondered what happens behind the scenes? And why sometimes it doesn’t work as expected? Unfortunately, the process isn’t always straightforward. The CORS Problem When I transitioned Sharp Cooking into a Progressive Web App (PWA)—blame Apple for that—a CORS (Cross-Origin Resource Sharing) issue emerged....

February 6, 2025 · 3 min · LPains
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