Be careful of lazy dependencies

added by DotNetKicks
5/24/2019 2:40:55 PM

1 Kicks, 247 Views

NET Core has a lot more built in support for dependency injection which is an incredibly useful feature and this post isn't about not using that, but to think about how and when your depdendencies are created. By dependencies I mean any object being created by your Container which is a pretty broad definition which typically covers controllers, services and more.


0 comments