An addictive .NET IoC container

autofac c-sharp dependency-injection ioc-container netcore netstandard
2 Open Issues Need Help Last updated: Sep 12, 2025

Open Issues Need Help

View All on GitHub

An addictive .NET IoC container

C#
#autofac#c-sharp#dependency-injection#ioc-container#netcore#netstandard

AI Summary: Investigate and fix a bug in Autofac 8.3.0 where using `IStartable` within a child lifetime scope causes unnecessary recompilation of factory delegates. The issue involves the repeated creation of factory delegates for each lifetime scope, impacting performance. The solution requires analyzing the provided code example to identify why the factory delegate isn't reused and implementing a fix to ensure it's reused across child scopes.

Complexity: 4/5
bug help wanted

An addictive .NET IoC container

C#
#autofac#c-sharp#dependency-injection#ioc-container#netcore#netstandard