Skip to content
Docs Try Aspire

publishAsContainer

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: