Skip to content

The order of starting/stopping IHostedServices in generic host #28540

Discussion options

You must be logged in to vote

Okay, so I finally got to the correct place. During the initial investigation overlooked the correct implementation which is... in the generic host. :) I was searching through the now-deprecated Microsoft.AspNetCore.Hosting.Host believing that it is the go-to implementation.

Using the correct host completely solves my problem. :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jakubfijalkowski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant