1
Dec
2022
Refactoring Bloated Controllers with [FromService]
In my previous article, Refactoring Bloated Controllers with IServiceProvider, I explored using the Service Locator Pattern to reduce the number of services injected into an ASP.NET MVC controller constructor. While a convenient way to reduce the number of constructor arguments, using IServiceProvider does have some potential downsides. It has been a few years since I […]
Read More
Recent Comments