Guides

All guides

Lifetimes

Multiple, singleton, scoped, per-thread, pooled, instance, and custom.

ASP.NET Core and Generic Host

Use yocto as the app's IServiceProvider.

Keyed and generic services

Keys, open generics, and IEnumerable<T>.

Child containers and scopes

Overrides, disposal, builders, and the ambient container.

Modules and assembly registration

Package registrations with the library that owns them.

WPF and XAML

Resolve view models in markup with yocto.Wpf.

Validation and Native AOT

Catch wiring bugs at startup; publish trimmed.

Migrating to yocto 3

What changed from 1.x and 2.x.