Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 545 Bytes

File metadata and controls

9 lines (5 loc) · 545 Bytes

ConfigurationExample

Registering components from autofac.json rather than in code, including a plugin assembly the application holds no reference to at all.

Packages: Autofac, Autofac.Configuration

Run dotnet run --project src/ConfigurationExample. It prints the plugins it resolved from configuration.

See JSON/XML Configuration for the documentation this example follows.