Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dependency-injection

How do I register a delegate or function with Autofac when the function belongs to a class that must be resolved?

Setting a default value for an injectable class

Custom scope using Hilt

Does spring dependency injection create singleton objects?

How to inject a repo into FirebaseMessagingService class

Opening child window in WPF MVVM pattern - correct solution?

Initialize a singleton after configuring dependency injection, but before the first http request

Understanding dependency injection in java without relying on a framework. What does it look like in pure java code?

Is it possible to inject YAML file to a service in Symfony?

Dependency Injection unable to resolve service for type in .NET Core Function App running in Azure

How to use DbContext in a singleton class?

Make sure that the controller has a parameterless public constructor using Ninject

Preferable way of making code testable: Dependency injection vs encapsulation

Is it considered bad design to pass a repository interface as an argument to a method on a domain class?

Combining dependencies and values in the constructor

How to register singleton factory resolving scoped objects in ASP.NET Core?

How can I override a DI container dependency with a specific instance?

Question about FastAPI's dependency injection and its reusability