Skip to content
DocsTry Aspire
DocsTry

UvicornAppResource Constructors

ClassConstructors1 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)
{
// ...
}
}
namestringThe name of the resource.
executablePathstringThe path to the executable used to run the python app.
workingDirectorystringThe working directory for uvicorn.