Skip to content
DocsTry Aspire
DocsTry

JavaScriptAppResource Constructors

ClassConstructors1 member
A resource that represents a JavaScript application.
Constructor(string, string, string)Section titled Constructor(string, string, string)
A resource that represents a JavaScript application.
public class JavaScriptAppResource
{
public JavaScriptAppResource(
string name,
string command,
string workingDirectory)
{
// ...
}
}
namestringThe name of the resource.
commandstringThe command to execute.
workingDirectorystringThe working directory to use for the command.