Skip to content
DocsTry Aspire
DocsTry

publishAsContainer

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

Signature

methodpublishAsContainerbuilder
Changes the resource to be published as a container in the manifest.
publishAsContainer(): ContainerResource
ContainerResource

Applies to

This method applies to the following types: