NodeAppResource(String, String, String) Constructor

Definition

A resource that represents a node application.

public NodeAppResource (string name, string command, string workingDirectory);
new Aspire.Hosting.NodeAppResource : string * string * string -> Aspire.Hosting.NodeAppResource
Public Sub New (name As String, command As String, workingDirectory As String)

Parameters

name
String

The name of the resource.

command
String

The command to execute.

workingDirectory
String

The working directory to use for the command. If null, the working directory of the current process is used.

Applies to