Skip to content
Docs Try Aspire
Docs Try

ContainerResource.publishAsConnectionString

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
publishAsConnectionString(): ContainerResource;
}

Signature

method publishAsConnectionString builder
Changes the resource to be published as a connection string reference in the manifest.
publishAsConnectionString(): ContainerResource
ContainerResource

Defined on

This method is defined on the following type: