ExternalServiceResource
Class sealed net10.0
Represents an external service resource with service discovery capabilities.
namespace Aspire.Hosting;
public sealed class ExternalServiceResource : Aspire.Hosting.ApplicationModel.Resource{ // ...}Constructors2
Section titled ConstructorsExternalServiceResource(string, Uri) Creates a new instance of
ExternalServiceResource with a specified name and URI. ExternalServiceResource(string, ParameterResource) Creates a new instance of
ExternalServiceResource with a specified name and URL parameter. Properties2
Section titled PropertiesUrigetUri? Gets the URI for the external service, if defined.
UrlParameterget Gets the URL parameter for the external service, if defined.