dotnet / dotnet/dotnet-api-docs
builder.Services.AddHttpClient DefaultName not clear
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Missing information
### Description
[Enter feedback here]
The way DefaultName works it's not explained at all, please add a small one-two liner example into the page on how this works and needs to be implemented
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.httpclientfactoryservicecollectionextensions.addhttpclient?view=net-9.0-pp&viewFallbackFrom=net-8.0#microsoft-extensions-dependencyinjection-httpclientfactoryservicecollectionextensions-addhttpclient(microsoft-extensions-dependencyinjection-iservicecollection-system-string-system-action((system-iserviceprovider-system-net-http-httpclient)))
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Extensions.DependencyInjection/HttpClientFactoryServiceCollectionExtensions.xml
### Document Version Independent Id
8d1c33d9-0665-bfa5-e6a2-363e28a7480a
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.