AspNetCore.Docs/aspnetcore/includes/environmentVarableColon.md

7 lines
505 B
Markdown

---
no-loc: [Home, Privacy, Kestrel, appsettings.json, "ASP.NET Core Identity", cookie, Cookie, Blazor, "Blazor Server", "Blazor WebAssembly", "Identity", "Let's Encrypt", Razor, SignalR]
---
The `:` separator doesn't work with environment variable hierarchical keys on all platforms. `__`, the double underscore, is:
* Supported by all platforms. For example, the `:` separator is not supported by [Bash](https://linuxhint.com/bash-environment-variables/), but `__` is.
* Automatically replaced by a `:`