Where to add SqlServer connection string to existing Azure Sql Server DB? #3817
Unanswered
niclascoeli
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you show the app host code? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure how to set up the proper configuration in Azure? Previously I just used env variable and got the config directly but after moving to Aspire Preview 5 i thought i should do it the proper way.
My code (works well in debug):
The exception in Azure, I already have the DB set up and would like to know where I should set the connection string. I guess the message is intended to be helpful but I don't understand how to translate this to configuration in Container Apps. I tried setting env variable AZURE_CONNECTION_STRING but no cigar..
Beta Was this translation helpful? Give feedback.
All reactions