Experience DryIoc, LightInject

I would like to use some .NET IoC container with good results. I read this article about IoC container performance, and DryIoc and LightInject seem to be the best. But I did not find reviews about them, especially about some experiments with real use.

  • Do you have experience with DryIoc and LightInject?
  • Which IoC container would you recommend for a performance sensitive project?
+6
source share
2 answers

I decided to use LightInject in a medium-sized project, and I was very pleased with all the features, documentation, and support. I recommend using LightInject.

0
source

LightInject does not allow specific classes that have not been registered in the container. You can provide a backup method (RegisterFallback), but when resolving dependencies in it using the same container, it raises a StackOverflowException.

0
source

Source: https://habr.com/ru/post/973650/


All Articles