Skip to content

Typo in Service discovery in .NET page#51425

Merged
meaghanlewis merged 3 commits intodotnet:mainfrom
abezkorovayny:patch-1
Feb 5, 2026
Merged

Typo in Service discovery in .NET page#51425
meaghanlewis merged 3 commits intodotnet:mainfrom
abezkorovayny:patch-1

Conversation

@abezkorovayny
Copy link
Contributor

@abezkorovayny abezkorovayny commented Feb 1, 2026

Describe the issue or suggestion

Type of issue
Typo

Description
While reading the article, there is a sentence that reads "The configuration resolver is configured using the ConfigurationServiceEndpointProviderOptions class..".

However, the code snippet below is using ConfigurationServiceEndPointResolverOptions class, which is not available in the namespace.

I believe, the code snippet should be updated to fix the class name to ConfigurationServiceEndpointProviderOptions:

builder.Services.Configure<ConfigurationServiceEndpointProviderOptions>(
  ..
);

Page URL

https://learn.microsoft.com/en-us/dotnet/core/extensions/service-discovery?tabs=dotnet-cli#configuration

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/extensions/service-discovery.md

Fixes #51424


Internal previews

📄 File 🔗 Preview link
docs/core/extensions/service-discovery.md Service discovery in .NET

@abezkorovayny abezkorovayny requested review from a team and gewarren as code owners February 1, 2026 11:09
@dotnetrepoman dotnetrepoman bot added this to the February 2026 milestone Feb 1, 2026
@dotnet-policy-service dotnet-policy-service bot added dotnet-fundamentals/svc community-contribution Indicates PR is created by someone from the .NET community. labels Feb 1, 2026
Updated documentation to reference the correct extension method for configuration.
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

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

@gewarren gewarren enabled auto-merge (squash) February 2, 2026 20:23
auto-merge was automatically disabled February 5, 2026 17:27

Pull request was closed

@meaghanlewis meaghanlewis reopened this Feb 5, 2026
@meaghanlewis meaghanlewis enabled auto-merge (squash) February 5, 2026 17:27
@meaghanlewis meaghanlewis merged commit d550f7c into dotnet:main Feb 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typo in Service discovery in .NET page

3 participants