ExternalServiceBuilderExtensions
Classstaticnet10.0
Provides extension methods for adding external services to an application.
namespace Aspire.Hosting;
public static class ExternalServiceBuilderExtensions{ // ...}Methods4
Section titled MethodsIResourceBuilder<ExternalServiceResource> Adds an external service resource to the distributed application with the specified URL.
IResourceBuilder<ExternalServiceResource> Adds an external service resource to the distributed application with the specified URI.
AddExternalService(IDistributedApplicationBuilder, string, IResourceBuilder<ParameterResource>)extensionats ignoredIResourceBuilder<ExternalServiceResource> Adds an external service resource to the distributed application with the URL coming from the specified parameter.
IResourceBuilder<ExternalServiceResource> Adds a health check to the external service resource.