Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddExternalService

Method
📦 Aspire.Hosting v17.0.0
func (DistributedApplicationBuilder) AddExternalService(
name string,
url any,
) ExternalServiceResource

Signature

methodAddExternalServicebuilder
Adds an external service resource
AddExternalService(
name string,
url any,
) ExternalServiceResource
namestring
urlany
ExternalServiceResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: