Tags: Azure

Change locale/culture for a Linux-based Azure WebApp

When running your .NET 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.

Screenshot from application settings in Azure, showing the setting LANG.

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