Rearchitecting for MicroServices: Featuring Windows & Linux Containers
Apr 28, 2021Jessica Deen

Summary
This post details the process of containerizing a legacy ASP.NET application using Windows Containers, including an initial Dockerfile that copies pre-built artifacts and a subsequent multistage Dockerfile that builds the application within the container. It then transitions to containerizing a .NET Core application using Linux Containers, showcasing a multistage Dockerfile that builds and publishes the application within the container. The post discusses the benefits and drawbacks of each approach, including image size, build dependencies, and cross-platform compatibility.
More from the Azure Container Instances with GitHub Actions trail
- AzureFunBytes - Containers and Kubernetes with @brendandburns
- Azure Friday: Best practices for Azure Container Instances (ACI) with GitHub Actions
- Publishing Azure Container Instances from Docker CLI
- AzureFunBytes - Modernizing Your Apps With Containers
- AzureFunBytes Short - Azure Containers (Kubernetes, Container Instances, More)