StackOverflow Questions for Tag: dependency-injection

RongQing Zhang
RongQing Zhang

Reputation: 13

How to register a generic type using Microsoft.Extensions.Hosting by reflection?

Score: 1

Views: 83

Answers: 1

Read More
Matthew MacFarland
Matthew MacFarland

Reputation: 2731

What is the correct method to setup OpenTelemetry tracing in a .NET console app using dependency injection?

Score: 0

Views: 57

Answers: 1

Read More
waterford
waterford

Reputation: 21

How to access Azure KeyVault secret value from program.cs in blazor server app

Score: 2

Views: 593

Answers: 1

Read More
georgio bou sleimen
georgio bou sleimen

Reputation: 31

Why the Actions object from NgRx effects cannot be injected despite including the necessary module and no circular dependency?

Score: 2

Views: 343

Answers: 3

Read More
Jeppe
Jeppe

Reputation: 1563

Caching and lifetime in ASP.NET Web API

Score: 0

Views: 43

Answers: 1

Read More
Damian Kapłon
Damian Kapłon

Reputation: 85

Quarkus + kotlin dependency injection in tests

Score: 4

Views: 456

Answers: 1

Read More
ZdenekF
ZdenekF

Reputation: 5

Blazor WebAssembly returns "no registered service" even though service is registered

Score: 0

Views: 78

Answers: 2

Read More
Sandro Sandro
Sandro Sandro

Reputation: 21

How do I use request params in my Mezzio app before the handler was initialized?

Score: 0

Views: 27

Answers: 1

Read More
user3386507
user3386507

Reputation: 63

Blazor/Razor resolve components using dependency injection

Score: 2

Views: 671

Answers: 2

Read More
lin
lin

Reputation: 25

Hilt Dependency Injection Issue: Cannot Find Symbol 'PlayerViewModel_HiltModules_BindsModule_Binds_LazyMapKey‘

Score: 2

Views: 59

Answers: 1

Read More
Irdis
Irdis

Reputation: 986

Use provider from the same module in Angular DI

Score: 2

Views: 55

Answers: 1

Read More
Antonio Pisarra
Antonio Pisarra

Reputation: 23

How to Automatically Register MediatR Generic Handlers Without Manually Defining Each Type?

Score: 0

Views: 64

Answers: 1

Read More
Chris
Chris

Reputation: 899

Spring, injecting a list of beans with only specific beans included

Score: 1

Views: 4722

Answers: 3

Read More
Anmol
Anmol

Reputation: 8670

how to inject View model using koin? (for specific use case)

Score: 3

Views: 12394

Answers: 2

Read More
DWilches
DWilches

Reputation: 23035

HK2 cannot inject Boolean into boolean

Score: 1

Views: 232

Answers: 1

Read More
Python_user
Python_user

Reputation: 1573

@Qualifier not working with Xml based config in Spring 6.2

Score: 0

Views: 50

Answers: 1

Read More
Thakgrandka
Thakgrandka

Reputation: 526

Needle dependency injection via build phase exception

Score: 0

Views: 201

Answers: 1

Read More
John
John

Reputation: 5297

spring autowiring with processInjectionBasedOnCurrentContext(this);

Score: 0

Views: 9279

Answers: 1

Read More
Gopalakrishnan R
Gopalakrishnan R

Reputation: 41

How to share NgxPermissionsService instances across AppModule, Feature Module and a Library Module

Score: 1

Views: 98

Answers: 0

Read More
Malekai
Malekai

Reputation: 45

ServiceProvider.GetServices with Open Types

Score: 0

Views: 58

Answers: 1

Read More
PreviousPage 3Next