Skip to content

Mention explicitly that HttpClientFactory is provided through a Nuget package #11064

Closed

Description

@matteocontrini

The article says that the HttpClientFactory class is available by adding a reference to the Microsoft.Extensions.Http package, but it doesn't explicitly say that it's available through Nuget.

At some point, it also says:

.NET Core 2.1 introduced a new HttpClientFactory

which might be confusing since it's not a "core" feature.

My suggestion would be to make the step of installing the library with Nuget more explicit.

Thanks.


Document Details

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

Activity

  1. mvelosop commented on Aug 8, 2019

    @mvelosop
    Contributor

    Hi @matteocontrini, thanks for the feedback.

    I would've thought that just by saying "add a reference to XXX package" would make it clear that it's a NuGet package, but it looks like it's not, from the amount of thumbs up.

    Will reword the mention.

  2. self-assigned this
    on Aug 8, 2019
  3. matteocontrini commented on Aug 8, 2019

    @matteocontrini
    Author

    Thanks!

    It's been some time but I remember that while reading it, the article gave the impression that it was a new feature of the framework, while it's actually a library that you need to install manually.

    New users of the ecosystem might not know that the framework is extensible through Nuget packages, so saying it explicitly can't be bad :)

  4. added this to the August 2019 milestone on Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions