Watch Aspire live streamsDocsTry Aspire

runAsFoundryLocal

Method
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
interface FoundryResource {
// ... omitted for brevity
runAsFoundryLocal(endpoint?: string): FoundryResource;
}

Signature

methodrunAsFoundryLocalbuilder
Configures a Microsoft Foundry resource to use an Aspire-managed or existing Foundry Local service.
runAsFoundryLocal(endpoint?: string): FoundryResource
endpointstringoptional
FoundryResource

Applies to

This method applies to the following types: