Skip to content

Where should the while loop placed? #43263

@peymanebrahimi

Description

@peymanebrahimi

Type of issue

Other (describe below)

Description

Shouldn't the while loop be inside the backgroundService Execute method to scopedService make sense?

Page URL

https://learn.microsoft.com/en-us/dotnet/core/extensions/scoped-service

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/extensions/scoped-service.md

Document Version Independent Id

5a2fc6e8-a47b-c300-1ef0-e6ae89612d74

Article author

@IEvangelist

Metadata

  • ID: ca143da3-5c97-0dc0-9d99-ed477a8bce91
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 340826

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-fundamentals/svcin-prThis issue will be closed (fixed) by an active pull request.needs-more-infoNeeds more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions