Skip to content
Docs Try Aspire

NodeAppResource Constructors

Class Constructors 1 member
A resource that represents a node application.
Constructor(string, string, string) Section titled Constructor(string, string, string)
A resource that represents a node application.
public class NodeAppResource
{
public NodeAppResource(
string name,
string command,
string workingDirectory)
{
// ...
}
}
name string The name of the resource.
command string The command to execute.
workingDirectory string The working directory to use for the command.