Skip to content
DocsTry Aspire
DocsTry

NodeAppResource Constructors

ClassConstructors1 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)
{
// ...
}
}
namestringThe name of the resource.
commandstringThe command to execute.
workingDirectorystringThe working directory to use for the command.