I have the following piece of code In my Program.cs, I have the following I did a publish on a CentOs7. When I am running my application using the command: I have the following error: I do not understand why is the value of my connection string null when I hardcoded directly it in the application. What could be the
Tag: connection-string
.Net Web app SQL Server Connection String Linux Issue
I am having issues with a SQL Server connection string that is being used by a .net core App that is deployed on a Linux environment. The .net core app needs to access a sql server on a different server. My connection string I am using is as follows It works fine when i run locally on my windows pc
How to use Mysql Connection String inside PHP code which is served by Azure Lunix App Service
I’m trying to host Wordpress to Azure lunix App service. I created a Azure Database for MySQL, then I got the web app connection string from the connection strings screen. The connection string format is Then I created a Linux based app service and added the MySQL connection string to its configuration. Then I used this code in wp-config.php to