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. You’ll need to use Windows Server Core as the base image because the Nano edition doesn’t support x86 applications. Note that there are no .NET base images with the x86 runtime, so you’ll have to manually install the .NET and ASP.NET runtimes. ...

December 8, 2024 · 5 min · LPains