How to configure mysql connection string from Azure web app #15867
Unanswered
ruixue8080
asked this question in
Q&A
Replies: 1 comment
-
If you want to use environment variables from azure web app configuration here is a working example
where I don't quite understand what you have tried with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our project is deployed in Azure web app, and we have different connection string for production and testing environment. Can I configure mysql connection string for Orchard from Azure web app configration? what key should I use if yes.
according to this article: https://docs.orchardcore.net/en/dev/docs/reference/core/Configuration/, azure web app has the highest priority for configure database connection string, however my configuration in web app just not work.
It only work if I set mysql connection string in AppData/Site/{MySite}/appsettings.json, it NOT work if I set connection string from {root of startup project}/appsettings.json, neither not work for web app configuration.
Beta Was this translation helpful? Give feedback.
All reactions