Any problem with nesting dependency injection?
esam
6
Reputation points
if my page/controller has a dependency injected by asp.net core , but this dependency have a dependency injected which have a dependency injected.... down to multiple levels for example.
is that the way DI is intended to be used?
any problem? performance?
any alternative approach ?
Developer technologies | ASP.NET | ASP.NET Core
4,826 questions
Sign in to answer