This FastAPI sample was created to add a FastPI sample for Orchestrate Python apps in .NET Aspire.
- Open the
hello-pythonfolder in VS Code, - Create a virtual environment :
python -m venv .venv - Install the dependencies :
pip install -r requirements.txt - Open the Visual Studio solution.
- Run the Aspire application.
- Click on the Aspire application URL and open the Swagger documentation :
https://localhost:<port>/docsand send some requests. - You should see structured logs, traces and metrics in the Aspire Dashboard.
