ResourceUrlAnnotation
Class sealed net10.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 ConstructorsProperties4
Section titled PropertiesDisplayLocationget; set Locations where this URL should be shown on the dashboard. Defaults to
UrlDisplayLocation.SummaryAndDetails. DisplayTextget; 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. Urlget; setstring The URL. When rendered as a link this will be used as the link target.