Module 12 of 12

Testing & Deployment

Lessons

About This Module

Writing code that works on your machine is only half the job. To build software people can rely on, you need to prove it works and then get it running somewhere else. This final module covers both.

You will start with unit testing using xUnit, including tests for ASP.NET Core applications. Then you will learn to package an API in a Docker container and set up a CI/CD pipeline with GitHub Actions that builds and deploys it to Azure automatically.

Once you have finished the lessons, put everything together in the Projects section.

Lessons

4 videos
01

Mastering C# Unit Testing with xUnit: A Beginner's Guide

Covers the basics of unit testing, setting up xUnit in your project, and writing your first test cases.

02

xUnit Testing C# ASP.NET Core: A Complete Course for Beginners

Learns xUnit from scratch, covering both unit testing and integration testing for ASP.NET Core applications. A longer course, so best used as a reference.

03

How to Containerize ASP.NET Core Web API 9 with Docker

Walks through containerizing an ASP.NET Core Web API on .NET 9 with Docker from scratch.

04

GitHub Actions CI/CD Pipeline for ASP.NET Core Web API

A beginner-friendly, step-by-step tutorial on building a GitHub Actions pipeline that deploys an ASP.NET Core Web API to Azure App Service.