MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.36k forks source link

BlockAndRun in WindowsService BackgroundService on ServerOS #116498

Closed OzBob closed 1 month ago

OzBob commented 10 months ago

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 commented 10 months ago

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

cephalin commented 1 month ago

Internal item created: https://dev.azure.com/msft-skilling/Content/_workitems/edit/288925

cephalin commented 1 month ago

Thanks for your feedback and your contribution to Azure docs.

Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.

To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.

please-close