.NET in a Box: Containerizing .NET Applications
summary
Shows concrete steps to package and ship .NET apps: use net publish --publish-container or multistage Dockerfiles, push to Azure Container Registry or Docker Hub, and run a trivy scan before push. Uses AppAT for dependency and cloud-readiness scanning, Dapper for pluggable state/service backends, and GitHub Actions / Azure DevOps build-and-push pipelines plus ACR tasks for remote builds. Demonstrates switching to chiseled/Alpine bases to cut images to ~80 MB, reports Debian runtime had ~92 packages versus ~7 in chiseled, and urges migration to .NET 8 for supported container features.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:08Why containerization matters
- 10:41Containers versus virtual machines explained
- 20:28Portability benefits
- 23:45Building containers in .NET 7/8
- 30:50Optimizing image size & security
- 40:14Cloud-native config
- 45:55Security scanning & CI/CD
- 51:35Cloud deployment
- 59:59Q&A
related talks
01h 06mBuilding Docker Applications with .NET
53mHow to Use Docker Containers with Azure Services for Your Solution
51mChoosing from the many ways to Docker in Azure
01h 01mContainers/Docker - what, why and how
49mTaking your .NET Core container solution from laptop to production
01h 02m.NET on Azure
29mA .NET application's journey on AWS
47mOptimizing the Microsoft developer experience with Docker
