StackOverflow Questions for Tag: ihostedservice

Tristan Trainer
Tristan Trainer

Reputation: 3070

Does passing a reference into a BackgroundTaskQueue work item cause the calling class to be held in memory?

Score: 1

Views: 44

Answers: 0

Read More
lonix
lonix

Reputation: 20699

When to use .NET Generic Host's Run, Start and WaitForShutdown

Score: 1

Views: 1005

Answers: 0

Read More
lonix
lonix

Reputation: 20699

Return non-zero exit code for crashed .NET Core BackgroundService

Score: 1

Views: 1215

Answers: 2

Read More
Bob Tway
Bob Tway

Reputation: 9603

How to map environment variables to a config object in a IHostedService?

Score: 2

Views: 7751

Answers: 3

Read More
Liam
Liam

Reputation: 1199

Add Multiple Hosted Services with different concrete types

Score: 0

Views: 24

Answers: 1

Read More

Trouble with Running a Continuous Task in the Background

Score: 1

Views: 70

Answers: 0

Read More
Elon Obama
Elon Obama

Reputation: 31

Why do I see dependency injection so often in the context of hosted services?

Score: 0

Views: 61

Answers: 0

Read More
Elon Obama
Elon Obama

Reputation: 31

Is the difference between AddQuartz and AddQuartzHostedService that the latter adds a hosted service?

Score: 0

Views: 1320

Answers: 1

Read More
Praveen Kumar N
Praveen Kumar N

Reputation: 74

long running operations using .NET core worker service - create, cancel , pause and resume operation

Score: 0

Views: 272

Answers: 0

Read More
CodingNeeded
CodingNeeded

Reputation: 111

How to run background task? keep getting System.AggregateException

Score: 0

Views: 209

Answers: 0

Read More
bubbleking
bubbleking

Reputation: 3611

Is It OK to Instantiate Multiple Instances of the Generic Host (IHost)

Score: 0

Views: 298

Answers: 0

Read More
Devin Harris
Devin Harris

Reputation: 23

Do I need to explicitly create a cancellation token source with IHostedService?

Score: 2

Views: 453

Answers: 2

Read More
ifinlay
ifinlay

Reputation: 651

"Could not find a constructor that would match given arguments" returned when injecting a dbContext

Score: 0

Views: 224

Answers: 2

Read More
danrockcoll
danrockcoll

Reputation: 255

How To Get The Results Of A Worker Background Service In C# .NET?

Score: 0

Views: 723

Answers: 1

Read More
lsonnen
lsonnen

Reputation: 1

Ho to get an asp.net hosted service to run automatically on IIS 10?

Score: 0

Views: 412

Answers: 1

Read More
Moka Buludlu
Moka Buludlu

Reputation: 13

Clear session data perodically from db

Score: 1

Views: 552

Answers: 1

Read More
g.pickardou
g.pickardou

Reputation: 35873

How can I access the command line arguments in a console application using IHostedService?

Score: 7

Views: 4874

Answers: 2

Read More
oli
oli

Reputation: 34

How to prevent .net 6 generic hosted console apps logging queue from being shutdown on application stop?

Score: 1

Views: 522

Answers: 1

Read More
Jonathan Wood
Jonathan Wood

Reputation: 67223

Long-running task without IHostedService running the entire life of the application?

Score: 0

Views: 675

Answers: 1

Read More
Kevin Le
Kevin Le

Reputation: 49

Using Dependency Injection from Azure Key Vault to grab a connection string for AddDbContextFactory

Score: 0

Views: 898

Answers: 1

Read More
PreviousPage 2Next