Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

composition root

The one place near a program's start where its objects are created and connected.

The composition root is the single location, as close to the entry point as possible, where concrete implementations are chosen and the object graph is assembled.

Examples

  • Program.cs, where the builder.Services.Add... lines connect every service before the app starts.

Read the full section →