Developing .NET Core 5 Apps with Docker
This course will teach you how to develop .NET applications using Docker and how to publish those applications to a container registry. It will also show you how to set up a more complex solution with dependent services in Docker Compose.
What you'll learn
Docker is a great technology to help simplify various aspects of both developing applications and deploying them, and using it to create .NET Core and .NET apps can make your life in both of these areas much easier. In this course, Building .NET Core Apps with Docker, you’ll learn to create and debug containerized versions of different .NET Core applications, like web applications, console applications, and service applications. First, you’ll explore the process to create and debug containerized .NET Core apps. Next, you’ll discover nuances of logging, configuration, and building .NET Core apps targeting Docker containers. Finally, you’ll learn how to simplify more complex multi-project solutions with service dependencies using Docker Compose. When you’re finished with this course, you’ll have the skills and knowledge of Docker and .NET Core needed to develop your own applications using this powerful and rapidly-advancing technology.
Table of contents
- Version Check 0m
- Welcome and Introduction 2m
- .NET Core or .NET - Which Is It? 2m
- Goal Scenario 2m
- Workstation Prerequisites 5m
- Contrast with the Fundamentals Course 2m
- .NET Project Types 2m
- Demo: Create a .NET API with Visual Studio 5m
- Demo: Add Docker Support within Visual Studio 3m
- Demo: Create a .NET API with VS Code 3m
- Demo: Add Docker Support within VS Code 3m
- Demo: Explore Docker Desktop and the Docker CLI 3m
- Summary and What's Next 1m
- Introduction 2m
- Logging in Containers 2m
- Demo: Our New API Project and Using ILogger<T> for Logging 8m
- Demo: Exception Handling and Logging 4m
- Benefits of Using a Logging Library 1m
- Demo: Setting up Serilog 5m
- Demo: Static "Log" vs. ILogger 2m
- Demo: Adding Seq as a Sink and Request Logging 6m
- Demo: Console and Worker Service Applications with Logging 7m
- Courses for Going Further with Logging 2m
- Summary and What's Next 1m
- Introduction 2m
- Types of Configuration Values 2m
- Layered Configuration in .NET 2m
- Configuration in Docker Apps 2m
- Demo: Using Default Configuration in API and Worker Projects 6m
- Demo: Enabling Configuration in .NET Console Applications 4m
- Demo: Working with Environment Variables During Development 5m
- Demo: Using the DebugView to Review Configuration Values and Sources 2m
- Dealing with Secrets in Configuration 3m
- Going Further with Configuration in .NET 1m
- Summary and What's Next 1m
- Introduction 2m
- Terms and Basic Workflow 2m
- Building Docker Images 2m
- Building .NET Docker Images 3m
- Demo: Building a Docker Image from a .NET Project 6m
- Demo: Tagging and Pushing Images 4m
- Demo: Using a GitHub Action to Build and Push Docker Images 6m
- Demo: Pulling and Running a Pushed Image 3m
- Demo: Container Fast Mode Explained 4m
- Summary and What's Next 2m
- Introduction 2m
- Introducing Docker Compose 1m
- Carved Rock Solution Plan 2m
- Docker Compose vs. Traditional Setup 2m
- Anatomy of a Docker Compose File 2m
- Demo: Setting up Docker Compose with Visual Studio 5m
- Demo: Setting up Docker Compose and Debugging with VS Code 7m
- Demo: Adding an ASP.NET MVC Project (UI) to Docker Compose (Visual Studio) 5m
- Demo: Adding RabbitMQ as a Service (Visual Studio) 6m
- Demo: Add the ASP.NET Worker Service Project (VS Code) 4m
- Demo: Add SQL Server Database 8m
- Summary and Send-off 1m