4.50.2 Does not use Environment Variables anymore

3 meses atrás
So connection string got moved to appsettings.json but you guys completely removed the code to override with environment variables!

Assuming this was an oversight? Without this it makes it very hard to deploy a base container image for various clients.
3 meses atrás
Please explain in more detail what is wrong.
Overriding app settings with environment variables works fine, for example, you can set the variable "ConnectionStrings:ConnectionString" and this value will be used as the connection string in the application, same for all other settings.
3 meses atrás
So before it was "dataSettings__DataConnectionString"

I must have missed in the code where this is handled. Where should I go to see what I should be setting variables to?
3 meses atrás
RomanovM wrote:
Please explain in more detail what is wrong.
Overriding app settings with environment variables works fine, for example, you can set the variable "ConnectionStrings:ConnectionString" and this value will be used as the connection string in the application, same for all other settings.


Oh I see! SectionName:KeyName

Now it works. Awesome thanks!