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 thebuilder.Services.Add...lines connect every service before the app starts.
See also