Aspnetcore.docs: Add a colon separator may not work on all platforms

Created on 26 Feb 2020  Â·  2Comments  Â·  Source: dotnet/AspNetCore.Docs

The instructions state:

Set the Authentication:Microsoft:ClientIdand Authentication:Microsoft:ClientSecret as application settings in the Azure portal. The configuration system is set up to read keys from environment variables.

Attempting to set these as application settings in the Azure Portal for a Linux App Service results in the following message:

App setting names can only contain letters, numbers (0-9), periods ("."), and underscores ("_")

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

P2 Source - Docs.ms doc-enhancement

Most helpful comment

In environment variables, a colon separator may not work on all platforms. A double underscore, __, is supported by all platforms and is automatically converted into a colon. See [Keys](xref:fundamentals/configuration#keys) for more info.

Need an include with the preceding in all the docs in this series.

All 2 comments

In environment variables, a colon separator may not work on all platforms. A double underscore, __, is supported by all platforms and is automatically converted into a colon. See [Keys](xref:fundamentals/configuration#keys) for more info.

Need an include with the preceding in all the docs in this series.

Those instructions are in the article.

Was this page helpful?
0 / 5 - 0 ratings