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

BlockAndRun in WindowsService BackgroundService on ServerOS #116498

Open
OzBob opened this issue Oct 27, 2023 · 1 comment
Open

BlockAndRun in WindowsService BackgroundService on ServerOS #116498

OzBob opened this issue Oct 27, 2023 · 1 comment

Comments

@OzBob
Copy link
Contributor

OzBob commented Oct 27, 2023

Running a console application is not very 'real life'.
Please add another example solution based on a WindowsService that runs on a Windows Server Operating System.
Show how to run the host.RunAndBlock from the Azure SDK in a .NetCore WindowsService that extends Microsoft.Extensions.Hosting.BackgroundService, which also has a 'Host.Run', isn't this a blocking problem?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@ManoharLakkoju-MSFT
Copy link
Contributor

@OzBob
Thanks for your feedback! We will investigate and update as appropriate.

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

No branches or pull requests

4 participants