Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: