Skip to content
Docs Try Aspire
Docs Try

publishAsContainer

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

Signature

method publishAsContainer builder
Configures the resource to be published as a container
publishAsContainer(): ContainerResource
ContainerResource

Applies to

This method applies to the following types: