Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Orleans] Update startup tasks guidance #43713

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Nov 22, 2024

Update startup tasks documentation with new guidance (use .NET BackgroundService/IHostedService in preference) and more detail


Internal previews

📄 File 🔗 Preview link
docs/orleans/host/configuration-guide/startup-tasks.md Background Services and Startup Tasks

@ReubenBond ReubenBond requested review from IEvangelist and a team as code owners November 22, 2024 20:07
@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 22, 2024
@ReubenBond ReubenBond force-pushed the rebond/startup-tasks-1 branch from 247fee2 to 19e6ded Compare November 23, 2024 00:09
@ReubenBond ReubenBond force-pushed the rebond/startup-tasks-1 branch from 19e6ded to 7f8a9a0 Compare November 23, 2024 00:12
}
```

Registration order is significant, since services added to the host builder are started one-by-once, in the order they are registered. You can register the background service as follows:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: one-by-onec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants