Fundamentals of Docker and Kubernetes for .NET 5 Developers
This course will teach you how to embrace Docker and Kubernetes within your .NET development efforts, including using Docker Compose to support SSL and a multi-project solution that includes a database.
What you'll learn
You've probably been hearing a lot about Docker and Kubernetes lately, and for good reason: they are technologies that enable us as developers to achieve great results with improved efficiency in many cases. In this course, Fundamentals of Docker and Kubernetes for .NET Developers, you’ll learn to use both Docker and Kubernetes in your .NET projects and solutions. First, you’ll explore using public Docker images to simplify installation of dependent services that your applications use. Next, you’ll containerize your .NET applications and set them up inside Docker Compose with support for SSL on your websites and completely simplify setup for new developers. Finally, you’ll learn how to prepare your solutions for deployment within a Kubernetes environment. When you’re finished with this course, you’ll have the skills and knowledge of Docker and Kubernetes needed to apply them in your own .NET projects and solutions.
Table of contents
- Version Check 0m
- Welcome and Clarifications 4m
- Cross-platform Nature of .NET 2m
- Benefits of Containers for Development and Deployment 3m
- Solution Overview 2m
- Demo: Setting up Solution (Old Way) 7m
- Setup Observations 1m
- Demo: Preparing to Use Containers with Docker Desktop 6m
- Demo: Install and Configure Windows Terminal 5m
- Demo: Install Windows Subsystem for Linux (WSL) 2 and Ubuntu 3m
- A Word About .NET Framework and Windows Containers 1m
- Now, You're Ready 2m
- Introduction 2m
- Current Foundation and References 3m
- Introducing Docker Compose 1m
- Demo: Adding Docker Compose Support for Identity Project 5m
- Simplified Explanation of SSL Termination and Load Balancing 2m
- Demo: Updating Ports in Docker Compose 5m
- Demo: Adding nginx as a Reverse Proxy 8m
- Demo: Updating Host Port and Cleaning Solution 2m
- Demo: Adding SSL to an nginx Reverse Proxy 6m
- Summary and What's Next 1m
- Introduction 2m
- Docker Compose File Review 1m
- DNS within Docker Compose 1m
- Solution Review and Path Forward 1m
- Demo: Adding the Seq Logging Service to Docker Compose 4m
- Demo: Adding the smtp4dev Email Service to Docker Compose 3m
- Demo: Adding the UI to Docker Compose with a new DNS Name 5m
- Demo: Networking in Docker Compose and Trusted Certificates 4m
- Demo: Adding the API as a Virtual Path Application to Docker Compose 7m
- What You've Done and What's Next 1m
- Introduction 2m
- Demo: Running SQL Server in a Container 5m
- Containers and Data Persistence 1m
- Database Approach Options for Docker Compose 1m
- WSL Configuration Settings 1m
- Demo: Use a Custom Image for the Database 5m
- Demo: Push a Custom Image to a Container Registry to Expose It to Others 2m
- Demo: Use a Custom Dockerfile with Startup Logic 5m
- Goal Review and eShopOnContainers 3m
- Summary and What's Next 1m
- Introduction 2m
- Introducing Kubernetes and Its Benefits 2m
- Anatomy of a Kubernetes Deployment 3m
- Component of a Kubernetes Cluster 3m
- Demo: Setting up the Local Kubernetes Cluster with Docker Desktop 5m
- Demo: Applying and Exploring the Kubernetes Dashboard 2m
- Demo: Running Your Solution Services in Kubernetes (Seq, smtp4dev, SQL Server) 5m
- Demo: Adding the nginx Ingress Controller and Defining an Ingress 3m
- Demo: Running an ASP.NET Application in Kubernetes 5m
- Demo: Adding SSL for an ASP.NET Application with an Ingress and Routing Applications via Path 3m
- Demo: Scaling a Kubernetes Deployment 2m
- Recommendations and Resources 3m
- Summary and Send-off 1m