Skip to content
DocsTry Aspire
DocsTry

ExternalServiceResource Properties

ClassProperties2 members
Represents an external service resource with service discovery capabilities.
UriSection titled UrinullableUri?
Gets the URI for the external service, if defined.
public Uri? Uri { get; }
If ExternalServiceResource.Uri is null, the external service URL is parameterized and can be accessed via ExternalServiceResource.UrlParameter."/>
Gets the URL parameter for the external service, if defined.
public ParameterResource? UrlParameter { get; }
If ExternalServiceResource.UrlParameter is null, the external service URL is not parameterized and can be accessed directly via ExternalServiceResource.Uri.