Deploy ASP.NET Core App Using Docker

Docker is a lightweight, open, and secure platform that allows you to package a software application and all of its dependencies in a single unit that are required to deploy and run the application. The package in Docker is called a Docker container that is a standalone deployable package contains a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server.

How Docker Containers are different than Virtual Machines?

A standard way to deploy and manage applications is using virtual machines. To deploy and run an application on a virtual machine, it must have the application, all of its dependencies, and a guest operating system that results in several GBs in size.

Containers on the other hand requires the application, all of its dependencies, but share the kernel with other containers. They run as an isolated process in userspace on the host operating system.

Docker containers run on any computer, on any infrastructure and in any cloud.

ASP.NET Core is the next generation of Microsoft’s most popular Web development platform, ASP.NET. ASP.NET Core is now open source and community driven platform.

In this Channel 9 video session, Glenn Condron and Steve Lasker talks about the container workflow, from the developer's inner loop, CI/CD, to deployment in a container orchestration solution. They also talk about Visual Studio as an in-container local development environment targeting Docker Containers.