Skip to content
Docs Try Aspire

UvicornAppResource Constructors

Class Constructors 1 member
Represents a Uvicorn application.
Constructor(string, string, string) Section titled Constructor(string, string, string)
Represents a Uvicorn application.
public class UvicornAppResource
{
public UvicornAppResource(
string name,
string executablePath,
string workingDirectory)
{
// ...
}
}
name string The name of the resource.
executablePath string The path to the executable used to run the python app.
workingDirectory string The working directory for uvicorn.