[New article]: Use EndpointProperty.HostAndPort
in samples
#2646
Labels
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
⌚ Not Triaged
Not triaged
Proposed topic or title
NA - updates to existing articles
Location in table of contents.
N/A
Reason for the article
dotnet/aspire#7629 introduces an
EndpointProperty.HostAndPort
to 9.2 that can simplify scenarios where you previously needed to concatenate Host and Port seperately -{foo.Property(EndpointProperty.Host)}:{foo.Property(EndpointProperty.Port)}
The docs currently have a few places that could use this simplification
docs-aspire/docs/extensibility/snippets/MailDevResource/MailDev.Hosting/MailDevResource.cs
Line 28 in 212a101
docs-aspire/docs/extensibility/snippets/MailDevResourceAndComponent/MailDev.Hosting/MailDevResource.cs
Line 28 in 212a101
docs-aspire/docs/extensibility/custom-hosting-integration.md
Line 360 in 212a101
docs-aspire/docs/extensibility/snippets/MailDevResourceWithCredentials/MailDev.Hosting/MailDevResource.cs
Line 48 in 212a101
Article abstract
N/A
Relevant searches
Searching through the repo for
.Property(EndpointProperty.Host)}:{
is how I found the above in case more of these show up in between creating this issue and the docs being updated for 9.2.The text was updated successfully, but these errors were encountered: