aspire-samples
aspire-samples copied to clipboard
Show composing a Python app into AppHost as a resource
Scenario:
- ASP.NET Core API frontend (e.g. Blazor SSR)
- Python (e.g. FastAPI) backend
- Frontend talks to the backend
- Backend talks to a PostgreSQL database
- Both apps should be composed into AppHost project so that service endpoint from backend is injected into environment of frontend
- Backend should have connection string of database injected into environment variables
+1 for this polyglot programming language combination model.
@DamianEdwards Is this sample available now?
@goldytech no we'll wait until dotnet/aspire#4142 goes in before adding this sample.
@DamianEdwards Thanks for sharing this update. I'm looking forward to it in version 8.1!