Skip to content

Incorrect description of the HostApplicationBuilder() constructor #13000

Description

@konstantinovaleksej

Type of issue

Missing information

Description

There's a significant error in the description of the HostApplicationBuilder() constructor. This constructor doesn't (!) load command-line arguments. As a result, the host builder will create an object without the parameters passed on the command line. This can be easily verified by looking at the list of configuration providers in the "Sources" property of the "Configuration" object in the debugger. The constructor description needs to be corrected.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.hosting.hostapplicationbuilder.-ctor?view=net-10.0-pp&source=docs

Content source URL

https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/Microsoft.Extensions.Hosting/HostApplicationBuilder.xml

Document Version Independent Id

102b4c59-fbe4-77b5-20f2-a588c1e40769

Platform Id

f3818afe-3505-fe45-02d3-b7544a92817c

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions