Docker All the Things - .NET 4.6 apps and Windows Containers
summary
Demonstrates dockerizing .NET 4.6 apps on Windows Server 2016 containers using a Dockerfile based on microsoft/iis (Server Core + IIS), installs Chocolatey and build tools, runs MSBuild inside the image, and uses a PowerShell entry script to apply ASPNET_ENV web.config transforms at container start. Uses docker build -t and docker run -d -p 81:80 -e ASPNET_ENV=dev/prod, shows WebForms hosted on IIS inside the container, measures ~100–200 MB per container, and mixes Windows and Linux images in a Docker Swarm.
AI-written summary · about
chapters (10)
- 0:00Introduction to Docker
- 4:23Windows containers for .NET
- 7:05Demo of Windows containers
- 10:19Deploying .NET apps in containers
- 11:28Demo of web forms in container
- 15:32Building the container image
- 16:39Running the container
- 18:26Benefits of containerization
- 19:31Mixed Linux and Windows clusters
- 20:37Summary and next steps
