Autofac registers components multiple times
问题 In a previous question about got I visualize the graph of my dependencies I got the foundation for the code I now use to visualize my dependency graph as it is resolved by Autofac. Running the code I get a tree that results in code like the following. Usd.EA.Bogfoering.WebApi.Controllers.BogfoerController (3851,7 ms. / 0,0 ms.) Depth: 0 Usd.EA.Bogfoering.WebApi.Controllers.BogfoerController (3851,7 ms. / 0,4 ms.) Depth: 1 Usd.Utilities.WebApi.Controllers.UnikOwinContext (0,1 ms. / 0,0 ms.)