ResourceUrlAnnotation
Classsealednet10.0
A URL that should be displayed for a resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ResourceUrlAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesDisplayLocation get; set Locations where this URL should be shown on the dashboard. Defaults to
UrlDisplayLocation.SummaryAndDetails . DisplayOrder get; setint? Gets or sets the display order of the URL. Higher values mean sort higher in the list.
DisplayText get; setstring? The name of the URL. When rendered as a link this will be used as the linked text.
Endpointget; init The endpoint associated with this URL. Can be
null if this URL is not associated with an endpoint.