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.