Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about di-containers

Read more about di-containers

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - di-containers

How to configure dependency injection "many levels down" using .NET built-in DI Container

I have a console .NET core application which uses the Microsoft.Extensions.DependencyInjection library as a dependency injection framework. I want to use this framework to inject a dependency two &quo...
test-img

Dean P

c#

.net-core

design-patterns

dependency-injection

di-containers

Votes: 0

Answers: 1

Latest Answer

This is a design issue. Person class shows SRP (Single Responsibility Principle) / SOC (Separation of Concerns) violations and a DI code smell by depending on run time data. (based on the simplified e...
test-img

Nkosi

How to use lazy initialization together with DIContainer in Spring4D

I'm new to Spring4D and trying to understand how to combine DIContainers with lazy loaded objects. I think i get the concept of pushing all the creation of the objects back in the callstack to the roo...
test-img

user2663901

lazy-initialization

spring4d

di-containers

Votes: 0

Answers: 2

Latest Answer

The concept of DI is not to push instance creation to the root of the application but the composition of the object graph - hence the name "composition root". It is quite the opposite - give...
test-img

Stefan Glienke

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved