Skip to content
DocsTry Aspire
DocsTry

BunAppResource Constructors

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