Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dependency-injection

Should I use Singleton or Scoped service for making api calls in ASP.NET Core?

How can I inject a declared namespace with Angular DI?

How to access a service added to DI container from inside Asp.Net Core's ConfigureServices method

Register Open Generic Decorator with Scrutor

How to control the scope of Dependency Injection in .Net Core 2

mock a registered resolver in awilix

Where dependency-injection registrations have to be put?

@Injectable() decorator and providers array

How to inject a list or a set in Dagger as we can do it in Spring?

How to replace component-scoped service with spy object in Angular 6?

DbContext Dependency Injection outside of MVC project

Are Spring's @Autowired object reused?

Inject different implementation for testing

How to configure Autofac to resolve CQRS handlers and write its query dispatcher in a Web API project

Inject a service in all ASP.Net Core Razor views

GetIt package - Object/factory not registered inside GetIt

How to initialize/inject generic ViewModel in BaseActivity by Koin injection on Android/Kotlin App

ASP.NET Core 3 - immediately instantiate a singleton after services.AddSingelton<IMySingletone, MySingletone>();

"Check that you have added the HiltAndroidRule" for ContentProvider in a test

How do I get my custom ILogger implementation from ILogger in, for example a controller?