Skip to content
Docs Try Aspire

ExternalServiceResource Properties

Class Properties 2 members
Represents an external service resource with service discovery capabilities.
Uri Section titled Uri nullable Uri?
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.