The .NET toolchain at a glance
Up to now every example has been a single Program.cs run with dotnet run. Real C# work happens in projects (.csproj) grouped in a solution, with libraries from NuGet, tests, a database, a container image and a CI pipeline. None of the labs below is exotic — together they are the everyday stack of a .NET backend team. The code is static (it needs packages and services), so read it, then build it on your machine.
| Job | Tool | Lab |
|---|---|---|
| Create, build, run, test, publish | dotnet CLI | 1 |
| Third-party libraries | NuGet | 2 |
| HTTP APIs | ASP.NET Core (minimal APIs) | 3 |
| Automated tests | xUnit | 4 |
| Relational data | EF Core + PostgreSQL | 5 |
| Caching | Redis | 6 |
| Web UI in C# | Blazor | 7 |
| Packaging and deployment | Docker | 8 |
| Build and test on every push | GitHub Actions | 9 |
