Skip to content
DocsTry Aspire
DocsTry

NextJsAppResource Constructors

ClassConstructors1 member
Represents a Next.js application resource.
Constructor(string, string, string)Section titled Constructor(string, string, string)
Represents a Next.js application resource.
public class NextJsAppResource
{
public NextJsAppResource(
string name,
string command,
string workingDirectory)
{
// ...
}
}
namestringThe unique name used to identify the Next.js application resource.
commandstringThe command to execute the application.
workingDirectorystringThe working directory from which the application command is executed.