Azure

Change locale/culture for a Linux-based Azure WebApp

When running your .NET 5 website on a Linux-based WebApp, you might want to set the current culture to make sure dates are formatted correctly and stuff like that.

You can do this with the LANG application setting, like this.

Skjermbilde fra application settings i Azure, som viser innstillingen LANG.

Another option is LC_ALL and if you want to change the timezone, use TZ.