BrandGhost
THIS Might Make Me Drop Autofac - Assembly Scanning With Scrutor

THIS Might Make Me Drop Autofac - Assembly Scanning With Scrutor

One of Autofac's superpowers is the ability to load modules from assemblies. And if that doesn't get you totally excited, let me explain why this is so powerful when we mix it with assembly scanning! If we have assembly scanning in our core application, we have the ability to load dependency registrations from outside of our core application. And if we have this kind of capability, we can do some very powerful things when it comes to dependency injection. But IServiceCollection is making a strong stand against Autofac with this one new cool kid on the block: Scrutor. Let's see how Scrutor can work alongside IServiceCollection in contrast with how Autofac behaves!
An error has occurred. This application may no longer respond until reloaded. Reload