UvicornAppResource
Class net10.0
Represents a Uvicorn-based Python application resource that can be managed and executed within a Python environment.
namespace Aspire.Hosting.Python;
public class UvicornAppResource : Aspire.Hosting.Python.PythonAppResource{ // ...}Remarks
Section titled RemarksThis resource is specifically designed for Python web applications that use Uvicorn as their ASGI server, which is commonly used with frameworks like FastAPI, Starlette, and other ASGI applications.
The resource automatically configures HTTP endpoints and sets up appropriate Uvicorn-specific command-line arguments for host binding and port configuration.