In ASP.NET Core DI system, you can only inject a dependency via the constructor but you can use another DI System like AutoFac, Ninject or Lamar to use Property injection.
↧
In ASP.NET Core DI system, you can only inject a dependency via the constructor but you can use another DI System like AutoFac, Ninject or Lamar to use Property injection.