Docker Images and Containers for ASP.NET Core

This course will teach you how to build an optimized Docker image for your ASP.NET Core app and how to run your app in a container.
Course info
Level
Intermediate
Updated
Aug 4, 2017
Duration
4h 1m
Table of contents
Running an ASP.NET Core App in a Container
Picking a Base Image
Distributing a Pre-published App in an Image
Building the App in a Container
Automate Building with a Dockerfile
Using a Multi-stage Build to Create a Runtime Optimized Image
Composing an ASP.NET Core App
Dissecting Visual Studio's Docker Support
Course Overview
Description
Course info
Level
Intermediate
Updated
Aug 4, 2017
Duration
4h 1m
Description

Docker and ASP.NET Core are a match made in heaven. Gone are the days of staring at IIS to figure out why your web app won't work. Instead, in a matter of seconds, you can pull an image with your published application and start up a container. In this course, Docker Images and Containers for ASP.NET Core, you'll learn about Docker images and containers for ASP.NET Core. First, you'll discover how to run your app in a container and how to package it up as an image. Next, you'll explore how to compile your app in a container and how to leverage a multi-stage build to create a runtime optimized image for production. Finally, you'll learn how to easily compose in additional dependencies and easily spin those up with Docker and how to leverage Visual Studio's new Docker Support. By the end of this course, you'll be good to go with Docker images and containers for ASP.NET Core.

About the author
About the author

Wes Higbee is passionate about helping companies achieve remarkable results with technology and software. He’s had extensive experience developing software and working with teams to improve how software is developed to meet business objectives. Wes launched Full City Tech to leverage his expertise to help companies delight customers.

More from the author
What Is DevOps: Executive Briefing
Beginner
23m
Nov 2, 2018
Implementing a Self-hosted Docker Registry
Intermediate
4h 8m
Jun 5, 2018
Webpack: Transpiling and Bundling JavaScript
Intermediate
4h 56m
Jan 30, 2018
More courses by Wes Higbee
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, my name is Wes Higbee. Welcome to my course, Docker Images and Containers for ASP. NET Core. Have you ever found yourself staring at IAS, beating your head against a wall, trying to figure out what is going wrong, why your ASP. NET Core application just will not run? Deploying an application is fraught with problems. The good news is, Docker can eliminate most of these issues, and to see how that's possible, we'll first start out by running an ASP. NET Core application inside of a container. We'll then see how we can distribute our application in an image, followed by looking at how we can compile or publish our application inside of a container. And then we'll stitch all of that together to look at how we can use a build process known as a multi-stage build to spit out a runtime optimized image to host your web application in production. We'll also look at how we can compose in additional dependencies like maybe a database or a mail server, and easily bring those applications up all via Docker Compose. And last, we'll dissect Visual Studio's new Docker Support. By the time you're done with this course, you'll have learned two primary things. First up, how to package your application inside of an image, and second, how to then run your application from that image inside of a container. But that's just the beginning. There's a continuation to this course called Building a Deployment Pipeline for ASP. NET Core with Docker. So when you're ready to go from development through to production, that course will help you automate the entire process. So let's get started.