ASP.NET Core · Build a working foundation
Six sequenced labs covering the framework’s core workflow, input boundaries, failure handling and a practical extension. Each includes code, expected behavior and a review checklist.
Prerequisite: C# functions, records, LINQ and async/await; HTTP basics. · 195 minutes of guided study
6 published lessons, from first principles to a small project.
Start first lesson →What you’ll be able to do
- Minimal APIs and typed route inputs
- Dependency injection and service lifetimes
- DTO validation at an API boundary
- Authentication and authorization are different checks
- Cancellation and safe error responses
- Project · An API with integration tests
How to study this course
Follow the numbered modules. Read the example, explain why it works, attempt the exercise, then compare your result with the supplied checks.
Setup: Use .NET 8 or newer: dotnet new web -n LearningApi. Replace Program.cs for each standalone minimal API example and run dotnet run --project LearningApi. Examples use the generated local development URL.
Times estimate guided reading and practice. Projects and revision can take longer.