Hidden Dependency Injection Limits with Autofac in ASP.NET Core
May 1, 2024
• 1,248 views
autofacc# dependency injection tutorialautofac tutorialdependency injection c# autofaciocmicrosoft mvpcircular dependencycircular dependenciesautofac dependency injection c#inversión de controlautofac asp.net corec# autofac dependency injectiondependency injectionautofac dependency injection web api c#c# autofac tutorialinversion of controldependency inversion principle tutorialc# reflection explainedautofac circular dependencyminimal apic#
Dependency injection is a powerful pattern that we can use in software development. ASP.NET Core comes with the IServiceCollection functionality built in to give us this kind of capability. However, we do have other tools, such as Autofac, that can enable us to do more powerful things with our dependencies.
In this video, I'll explore the trade-offs of using Autofac in the recommended way for setting up your application. For many people, this pattern will work very well. However, as someone who builds plugin architectures, there are a few limiting factors that I need to work around!
