From 31e12d85f8b0d7c183d772cbb232c090bb1e7ab2 Mon Sep 17 00:00:00 2001 From: Sebastian Krysmanski Date: Wed, 23 Dec 2020 09:48:09 +0100 Subject: [PATCH 1/2] Removed extra underscore --- docs/core/extensions/configuration-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/extensions/configuration-providers.md b/docs/core/extensions/configuration-providers.md index 56f3e8352d63e..2832506945ef4 100644 --- a/docs/core/extensions/configuration-providers.md +++ b/docs/core/extensions/configuration-providers.md @@ -191,7 +191,7 @@ The prefix is stripped off when the configuration key-value pairs are read. The following commands test the custom prefix: ```dotnetcli -set CustomPrefix__SecretKey="Secret key with CustomPrefix_ environment" +set CustomPrefix_SecretKey="Secret key with CustomPrefix_ environment" set CustomPrefix_TransientFaultHandlingOptions__Enabled=true set CustomPrefix_TransientFaultHandlingOptions__AutoRetryDelay=00:00:21 From ac47e682a2233024ff1f06dfd603aed9ef7fb8d7 Mon Sep 17 00:00:00 2001 From: David Pine Date: Mon, 4 Jan 2021 08:47:09 -0600 Subject: [PATCH 2/2] Apply suggestions from code review --- docs/core/extensions/configuration-providers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/core/extensions/configuration-providers.md b/docs/core/extensions/configuration-providers.md index 2832506945ef4..9123938904b8e 100644 --- a/docs/core/extensions/configuration-providers.md +++ b/docs/core/extensions/configuration-providers.md @@ -191,9 +191,9 @@ The prefix is stripped off when the configuration key-value pairs are read. The following commands test the custom prefix: ```dotnetcli -set CustomPrefix_SecretKey="Secret key with CustomPrefix_ environment" -set CustomPrefix_TransientFaultHandlingOptions__Enabled=true -set CustomPrefix_TransientFaultHandlingOptions__AutoRetryDelay=00:00:21 +set CustomPrefix__SecretKey="Secret key with CustomPrefix_ environment" +set CustomPrefix__TransientFaultHandlingOptions__Enabled=true +set CustomPrefix__TransientFaultHandlingOptions__AutoRetryDelay=00:00:21 dotnet run ```