I am trying to get the connectionString from environment variables in Linux, but the problem is that it returns null.
When i type printenv connectionStringin termial it returns the variable, but inside application where i wrote System.Environment.GetEnvironmentVariable("connectionString") it returns null.
Does anyone has any idea why is this happening?
p.s. I am running application in Docker.
export connectionString=...but still when i run the image it takes as null