Updated November 2026 21 hours of live training delivered over 3 days. Developers building Blazor apps and ASP.NET Core APIs who want to work test-first and run their tests in CI/CD. Teams who want to learn the underlying stack first can start with Full-Stack Web Apps with Blazor and ASP.NET Core APIs. This course teaches test-driven development on the current .NET testing stack. Students write xUnit v3 tests on Microsoft.Testing.Platform and use mocks, stubs, and fakes for isolation. Assertions use open-source libraries such as AwesomeAssertions and Shouldly. Students drive Razor components test-first with bUnit and test-drive Minimal API and controller endpoints. Integration tests run in memory with WebApplicationFactory and against real databases with Testcontainers. The course closes with Playwright for .NET browser tests, code coverage, and tests in GitHub Actions or Azure DevOps. Comprehensive courseware is distributed online at the start of class. All students receive a downloadable MP4 recording of the training. Students will need a free, personal GitHub account to access the courseware. Students will need permission to install the .NET 10 SDK and the .NET 11 SDK, plus Visual Studio 2026 or Visual Studio Code with the C# Dev Kit, a container runtime (Docker Desktop or Podman), and Node.js on their computers. Also, students will need permission to install NuGet Packages. If students are unable to configure a local environment, a cloud-based environment can be provided.Test-Driven Development with Blazor and ASP.NET Core APIs
Class Duration
Student Prerequisites
Target Audience
Description
Learning Outcomes
Training Materials
Software Requirements
Training Topics
Getting Started with TDD
Principles of TDD
Kinds of Testing
Testing Parts
.NET Testing Tools
xUnit v3
Test-Driving Minimal APIs
Testing Controller-Based Web APIs
Test-Driving Razor Components with bUnit
Testing Data Access
End-to-End Testing with Playwright for .NET
Testing JavaScript Interop Code
Code Coverage
CI/CD Integration