You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a standard way of having a Postgres server spun up for development work on local computers but use a pre configured 'Connection String' passed in for production deployments, via a Aspire produced Helm chart/secret, etc.
I have a demo app that i'm testing Aspire with (the code isn't with me as i'm typing this) but it uses IsDevelopment() builder.ExecutionContext.IsRunMode() in various fashions that i've managed to get part of the way with but was wondering if there was a standard way of doing this before i venture to far into the weeds trying to work it out myself.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a standard way of having a Postgres server spun up for development work on local computers but use a pre configured 'Connection String' passed in for production deployments, via a Aspire produced Helm chart/secret, etc.
I have a demo app that i'm testing Aspire with (the code isn't with me as i'm typing this) but it uses
IsDevelopment() builder.ExecutionContext.IsRunMode()in various fashions that i've managed to get part of the way with but was wondering if there was a standard way of doing this before i venture to far into the weeds trying to work it out myself.Beta Was this translation helpful? Give feedback.
All reactions