Example projects that consume and demonstrate Autofac IoC functionality and integration
Switch branches/tags
Nothing to show
Clone or download
alexmg Added example of using AutofacServiceProviderFactory with generic Hos…
…tBuilder from Microsoft.Extensions.Hosting (.NET Core 2.1).
Latest commit 6982bb2 May 22, 2018

README.md

Autofac Examples

Example projects that consume and demonstrate Autofac functionality and integration.

Build status

Reading the Examples

The examples in the repo are always for the latest Autofac versions and libraries. Look at the tags on this repo to see examples for older and/or deprecated functionality.

The examples attempt to stick pretty close to the Autofac documentation so it helps to have that available.

Building the Examples

The Examples.sln file has all the samples in it except the ServiceFabric example. ServiceFabric is in a child directory and has its own solution.