Skip to content
DocsTry Aspire
DocsTry

addExternalService

Method
📦 Aspire.Hosting v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addExternalService(
name: string,
url: ParameterResource): ExternalServiceResource;
}

Signature

methodaddExternalServicebuilder
Adds an external service resource
addExternalService(
name: string,
url: ParameterResource): ExternalServiceResource
namestring
urlParameterResource
ExternalServiceResource

Applies to

This method applies to the following types: