-
Notifications
You must be signed in to change notification settings - Fork 838
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
On several occasions, I've found myself wanting to get an endpoint reference in <Host>:<Port> format - particularly for low level tcp / udp type endpoints. You can deal with this today by something like:
ReferenceExpression.Create($"{endpoint.Property(EndpointProperty.Host)}:{endpoint.Property(EndpointProperty.Port)}");However this seems like a common enough format it would be nice to be able to do it natively.
Describe the solution you'd like
endpoint.Property(EndpointProperty.HostAndPort)
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication