Skip to content
Docs Try Aspire
Docs Try

RustAppExecutableResource Constructors

Class Constructors 1 member
A resource that represents a Rust application.
Constructor(string, string, string) Section titled Constructor(string, string, string)
A resource that represents a Rust application.
public class RustAppExecutableResource
{
public RustAppExecutableResource(
string name,
string workingDirectory,
string command = "cargo")
{
// ...
}
}
name string The name of the resource.
workingDirectory string The working directory to use for the command.
command string optional The command used to run the Rust application.