StackOverflow Questions for Tag: dependency-injection

Neville Nazerane
Neville Nazerane

Reputation: 7019

Custom Authentication scheme IOptionsMonitor not working

Score: 1

Views: 668

Answers: 2

Read More
ZorgoZ
ZorgoZ

Reputation: 3559

Client injection exception after upgrading MassTransit from 8.3.3 to 8.3.5

Score: 0

Views: 15

Answers: 0

Read More
beqa
beqa

Reputation: 83

R3InjectorError Error " No provider for _HttpClient! "

Score: 2

Views: 1290

Answers: 1

Read More
sfaulkner
sfaulkner

Reputation: 13

CDK Virtual Scrolling wrong values seen when scrolling due to components having injected properties

Score: 1

Views: 1091

Answers: 1

Read More
Я TChebur
Я TChebur

Reputation: 406

How to mock dependencies for IValueResolver from Automapper in unit tests

Score: 5

Views: 4584

Answers: 2

Read More
Michael McDowell
Michael McDowell

Reputation: 413

Instantiating IOptions<> in xunit

Score: 11

Views: 7310

Answers: 6

Read More
Fildor
Fildor

Reputation: 16049

Why is this "call is ambiguous between the following methods or properties" when calling ValidateOnStart?

Score: 1

Views: 62

Answers: 1

Read More

Component Registration Override C#: how to resolve?

Score: 0

Views: 33

Answers: 1

Read More
janci
janci

Reputation: 489

Why DI RouterState in standalone app triggers NullInjectorError

Score: 1

Views: 33

Answers: 1

Read More
Marko
Marko

Reputation: 1582

ASP.NET Core 8 : dependency injection in Startup.ConfigureServices

Score: 0

Views: 78

Answers: 2

Read More
D Smith
D Smith

Reputation: 63

MissingMethodException: No parameterless constructor defined for type

Score: 3

Views: 3337

Answers: 2

Read More
AmEl
AmEl

Reputation: 1

HiltWorker can't inject repository

Score: 0

Views: 25

Answers: 0

Read More
Enrico
Enrico

Reputation: 6182

..NET 8 Blazor and dependency injection: refresh error

Score: 2

Views: 153

Answers: 2

Read More
Simon
Simon

Reputation: 75

Dependency injection vs non-managed classes

Score: 0

Views: 70

Answers: 1

Read More
explorer
explorer

Reputation: 12090

What is the precise difference between TryAddEnumerable(ServiceDescriptor) and other TryAdd{lifetime} calls

Score: 16

Views: 4847

Answers: 1

Read More
st_clair_clarke
st_clair_clarke

Reputation: 5705

Restructuring a super call in a constructor to use the 'this'

Score: 1

Views: 46

Answers: 1

Read More
invaders7vn
invaders7vn

Reputation: 75

Is instantiating a concrete HttpClient instance an incorrect use of Dependency Injection in .NET?

Score: 3

Views: 113

Answers: 2

Read More
Neville Nazerane
Neville Nazerane

Reputation: 7019

using xamarin forms with IServiceProvider

Score: 17

Views: 4363

Answers: 2

Read More
tzegian
tzegian

Reputation: 587

Using Moshi in an extension function or injecting it via DI in Android

Score: 0

Views: 56

Answers: 1

Read More
Patrick
Patrick

Reputation: 425

Handle EFCore Lifetimes in Blazor Server where Backend is used for REST API as well

Score: 1

Views: 45

Answers: 1

Read More
PreviousPage 1Next