Skip to content
DocsTry Aspire
DocsTry

IDistributedApplicationBuilder.addExecutable

Method
📦 Aspire.Hosting v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addExecutable(
name: string,
command: string,
workingDirectory: string,
args: string[]): ExecutableResource;
}

Signature

methodaddExecutablebuilder
Adds an executable resource to the application model.
addExecutable(
name: string,
command: string,
workingDirectory: string,
args: string[]): ExecutableResource
namestring
commandstring
workingDirectorystring
argsstring[]
ExecutableResource

Defined on

This method is defined on the following type: