Skip to content

Use{Service} extension methods are NOT commonplace #29438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2022

Conversation

halter73
Copy link
Member

I'm not aware of any Use{Service} extension methods. To the extent they exist, they are definitely not following a common pattern, and suggesting they do can create confusion making people think that the same type of options configuration is used by Use{Middleware} extension methods which is not the case.

See the conversation at dotnet/aspnetcore#41655 (comment) for context.

@IEvangelist IEvangelist merged commit 23cce27 into main May 12, 2022
@IEvangelist IEvangelist deleted the halter73/add-not-use-services branch May 12, 2022 21:30
baronfel pushed a commit to baronfel/dotnet-docs that referenced this pull request Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants