Course Content
Modular Monolith Architecture in .NET

You need two things for this course, the .NET 10 SDK and an editor, and you probably have both already.

The .NET 10 SDK

We use the .NET 10 SDK for this course. You can download .NET 10 here.

To check what you have, open a terminal and run dotnet --list-sdks. It prints one line for each SDK on your machine, and you need at least one line that starts with 10.0. We built the course on version 10.0.302, and any 10.0 version is fine.

dotnet --version prints only one SDK. Outside our solution folder, that is the newest one you have, so with .NET 11 installed it tells you nothing about .NET 10. Inside the folder, it prints the .NET 10 SDK the solution uses.

Our solution pins its SDK in a global.json file, which sits beside Fieldwork.sln. That file lets any .NET 10 SDK build our code, and never a newer major version.

On a machine with only a .NET 11 SDK, the dotnet commands in our solution folder fail. So keep a .NET 10 SDK installed beside any newer one.

From module 5 on, we also need the Entity Framework Core command-line tool, because we run database migrations. It is a separate tool, installed once per machine.

You can install it now with dotnet tool install --global dotnet-ef --version 10.0.11, or wait until module 5. Version 10.0.11 matches the Entity Framework Core packages in our solution.

An Editor and the .http File

Any editor you already like works, as long as its version supports .NET 10. That means Visual Studio 2026, Rider 2025.3 or later, or Visual Studio Code with the C# Dev Kit extension. Visual Studio 2022 supports projects up to .NET 9 only, even with the .NET 10 SDK installed, so it is not enough for our solution.

We send our HTTP (Hypertext Transfer Protocol) requests from one file, Fieldwork.Web/Fieldwork.http. Each entry in it is one request, and an editor that knows the format sends it with one click.

Visual Studio 2026 runs .http files without an add-on, and so does Rider, through its built-in HTTP Client. Visual Studio Code needs an extension for them: install REST Client by Huachao Mao from the Extensions view.

If your editor cannot send them, use a terminal instead. Every request we send works from there too, and lesson 0.4 shows the command.

Docker for the Optional Lessons

You do not need Docker for the main path of the course. Only two optional parts of it use Docker:

  • Lesson 5.5, which runs our module 5 solution on Postgres.
  • The bonus module 17, which runs RabbitMQ in Docker from lesson 17.3 on. Its tests need Docker too.

If you do not have Docker, read those two parts instead of running them. No later lesson builds on either of them.

Windows, macOS and Linux

We write for Windows first. Our solution is plain .NET 10, so it builds and runs on macOS and Linux too.

Most commands we use are dotnet commands, and you type them the same way in PowerShell and in bash. When a command differs, its snippet has a tab for each shell, and lesson 0.5 explains how the tabs work.

If you have any problems with your setup, let us know. In the next lesson, we download the source code and build it once.

0% Complete