I was reading some complains about how dependency injection is implemented in the asp net core mvc framework. (ServiceLocator anti-pattern and some complains from the maintainers of some Dependency Injection frameworks) so I was thinking.. has anyone thought about replacing this service locator calls in the mvc framework with abstractions for factories and stuff like that? Would a project like that by useful?
↧