addDenoApp

Method
📦 Aspire.Hosting.JavaScript v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDenoApp(
name: string,
appDirectory: string,
scriptPath: string): DenoAppResource;
}

Signature

methodaddDenoAppbuilder
Adds a Deno application to the application model. Deno should be available on the PATH.
addDenoApp(
name: string,
appDirectory: string,
scriptPath: string): DenoAppResource
namestringThe name of the resource.
appDirectorystringThe path to the directory containing the Deno application.
scriptPathstringThe path to the script (for example, `main.ts`) relative to `appDirectory` to run.
DenoAppResource

Applies to

This method applies to the following types: