Open afscrome opened 2 weeks ago
Thanks for the suggestion @afscrome. This would be useful. We need to have UI design for the feature before we can implement this.
My suggestion for now would be to add it as a resource property Connection String
as an initially redacted string.
Longer term it could be worth adding a dedicated "Connection Strings" panel, although that's probably not worth doing until progress has been made on #2111 .
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
The aspire dashboard doesn't provide an easy way to get connection strings for resources with connection strings. Whilst you can often work out the connection string by finding an environment variable in a resource the connection string was injected into, this doesn't help if you're troubleshooting a Health Check failure, which means none of the later resources are starting and so don't show environment variables.
Describe the solution you'd like
The aspire dashboard should provide a way to show connection strings for resources when being run locally.
Additional context
Sample code to reproduce a health check failure
with app settings.json