Expose Endpoint Name as a read-only property on EndpointConfiguration#7698
Merged
Conversation
…tName` in service registration logic
…extension block syntax
Contributor
Author
|
I looked at the internal usage of the endpoint name and concluded it is not useful to try to use the property directly because Core internals never use |
andreasohlund
approved these changes
Apr 15, 2026
|
|
||
| return receiveConfiguration.LocalQueueAddress.BaseAddress; | ||
| /// <summary> | ||
| /// Returns the shared queue name of this endpoint. |
Member
There was a problem hiding this comment.
Shared == "input queue" right?
Member
There was a problem hiding this comment.
I took it as not-the-instance-specific-with-discriminator one but I don't know what you call that with better words. 😉
DavidBoike
approved these changes
Apr 15, 2026
This was referenced May 21, 2026
Open
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request exposes the endpoint name as a get-only property on the
EndpointConfiguration.While the endpoint name can already be retrieved using:
providing direct access through the configuration offers additional value and improves usability.
Motivation
Improved support for multi-hosting scenarios
Exposing the endpoint name as a property allows the EndpointConfiguration to serve as the sole information carrier. This is particularly useful when the endpoint name is used as an identifier for keyed services.
Enhanced developer experience
Accessing the endpoint name directly is more intuitive, discoverable, and expressive than retrieving it through settings.
Simplified integrations
This change streamlines registrations and bindings for the new Functions integration, reducing complexity and boilerplate.