Skip to content
DocsTry Aspire
DocsTry

ContainerResource.publishAsConnectionString

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

Signature

methodpublishAsConnectionStringbuilder
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: