Skip to content

[HCF] Warning about unbounded number of named clients#51975

Open
ManickaP wants to merge 3 commits intodotnet:mainfrom
ManickaP:hcf
Open

[HCF] Warning about unbounded number of named clients#51975
ManickaP wants to merge 3 commits intodotnet:mainfrom
ManickaP:hcf

Conversation

@ManickaP
Copy link
Member

@ManickaP ManickaP commented Mar 3, 2026


Internal previews

📄 File 🔗 Preview link
docs/core/extensions/httpclient-factory.md IHttpClientFactory with .NET

Copilot AI review requested due to automatic review settings March 3, 2026 09:08
@ManickaP ManickaP requested review from a team and gewarren as code owners March 3, 2026 09:08
@dotnetrepoman dotnetrepoman bot added this to the March 2026 milestone Mar 3, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds guidance to the IHttpClientFactory documentation to warn against registering an unbounded number of named clients, which can lead to resource exhaustion.

Changes:

  • Add a new note under Named clients warning about unbounded numbers of distinct named client registrations.
  • Provide an example cautioning against deriving client names from unbounded input.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants