Skip to content

Wrong documentation about IHostApplicationBuilder configuration #47060

Open
@evilpilaf

Description

@evilpilaf

Type of issue

Code doesn't work

Description

Under the AppConfiguration section for IHostApplicationBuilder it is claimed that:

App configuration is created by calling ConfigureAppConfiguration on an IHostApplicationBuilder. The public IHostApplicationBuilder.Configuration property allows consumers to read from or make changes to the existing configuration using available extension methods.

But the documentation for ConfigureAppConfiguration shows it is not available for this interface

Page URL

https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host?tabs=appbuilder

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/extensions/generic-host.md

Document Version Independent Id

22a12ff8-d2ff-a841-b9bb-e2fd1032bc04

Platform Id

3b476193-005a-256b-77a1-c15957a55240

Article author

@IEvangelist

Metadata

  • ID: d43ecd7c-307a-688e-d533-c1135bde65f9
  • PlatformId: 3b476193-005a-256b-77a1-c15957a55240
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions