With EF.DbContextFactory you can resolve easily your DbContext dependencies in a safe way injecting a factory instead of an instance itself, enabling you to work in multi-thread contexts with Entity Framework or just work safest with DbContext following the Microsoft recommendations about the DbContext lifecycle.
See the version list below for details.
Install-Package EF.DbContextFactory.Unity -Version 1.0.0
dotnet add package EF.DbContextFactory.Unity --version 1.0.0
<PackageReference Include="EF.DbContextFactory.Unity" Version="1.0.0" />
paket add EF.DbContextFactory.Unity --version 1.0.0
This package is not used by any popular GitHub repositories.