BrandGhost
Avoid Debugging This Autofac Headache in ASP NET Core

Avoid Debugging This Autofac Headache in ASP NET Core

Dependency injection is incredibly valuable for us when working with our ASP NET Core applications. By default, we get access to the IServiceCollection interface to be able to configure our dependencies, but I like using Autofac for dependency injection instead. The setup for Autofac in ASP NET Core is very simple, but there's a mistake that I make every single time. In this video, I'll walk you through what that mistake is and the easy solution for it. You'll be using Autofac and know how to use dependency injection in ASP.NET Core in no time at all!
An error has occurred. This application may no longer respond until reloaded. Reload