From the course: Deploying ASP.NET Core Applications: From Fundamentals to Advanced Deployment Strategies
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Containerizing ASP.NET Core applications - ASP.NET Core Tutorial
From the course: Deploying ASP.NET Core Applications: From Fundamentals to Advanced Deployment Strategies
Containerizing ASP.NET Core applications
- [Instructor] On this part, we're going to talk about how you can containerize an ASP.NET core app. Now, there are two ways on how you can do it using Visual Studio. You can either do it when you create the app or you can do it after you have created the app, which means that you can containerize existing .NET applications. Now let us go to Visual Studio, and then here I'm going to create a new project, so File, New, then Project, from the templates in here I'm going to choose the ASP.NET Core Web App (Model-View-Controller), then Next. Now, on this step, you need to define a name, just type in here, Docker, DockerDeployment.App, and then continue. Now, you're on this step, if you want to containerize the app when you create it, then in here you need to enable the Docker support, and then you need to choose the container operating system that'll be Linux, and then the container build type, and here you have two options, the Dockerfile or the .NET SDK. I'm going to choose the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Introduction to Docker and containerization2m 27s
-
(Locked)
Containerizing ASP.NET Core applications5m 35s
-
(Locked)
Building and pushing Docker images with Visual Studio3m 5s
-
(Locked)
Building and pushing Docker images with Command Prompt: Part 16m 59s
-
(Locked)
Building and pushing Docker images with Command Prompt: Part 25m 4s
-
(Locked)
Deploying Docker images to Docker hosts6m 39s
-
(Locked)
-
-