David Fowler
David Fowler
If you use the right expression it'll work in both cases.
The one thing here missing is that the azure Postgres flexible server resource does not expose the host name of the postgres server as a separate value you can use...
This code: ``` hostEndpoint ??= ReferenceExpression.Create($"{pg.GetOutput("hostname")}"); ```
You got it!
This change should make it easier https://github.com/dotnet/aspire/pull/11051 to resolve the host username password and db.
Is https://github.com/dotnet/aspire/pull/11051 available? Or are you asking about something else?
It’s in the next version 9.5. You can look at the milestone of the PR.
This happens really often when navigating to different VS code windows and back to the solution view. I have some logs captured but not sure which level this error happens...
Is there no way to detect and fail so we can call it .NET?
We made these private until further notice. What are you using it for? https://github.com/dotnet/aspire/pull/8529 For now you can manually create a BicepOutputReference from it with right name.