Automatic dependency registration — scanning, Scrutor and source generators
Writing an Add extension for every service gets old, and scanning the assembly feels like magic until it registers the wrong thing. The options for automatic registration — reflection, Scrutor, graph walking, source generators — and the trade-offs that decide which one I use.