Concept
Dependency Injection & Lifecycles: Compile-Time Composition
Master Dependency Injection in BitzOrcas.Modern: phased composition order, service lifecycle rules (Scoped / Singleton / Transient), and Native AOT static registration.
Last updated
Under .NET 10 Native AOT, runtime reflection scanning (e.g. services.Scan(...)) is forbidden.
BitzOrcas.Modern relies on compile-time static registration + IAppModule phased composition to ensure complete resolution ahead of time.
DI Phased Composition Flow
Summary
BitzOrcas.Modern eliminates runtime reflection scanning, ensuring compile-time safety and instant AOT cold starts.