From 2b4c72a0296c21147cea4b0afe74dfbe4e991891 Mon Sep 17 00:00:00 2001 From: Simon Waight Date: Mon, 27 Dec 2021 11:23:33 +0000 Subject: [PATCH] Fix setx examples (#24410) --- .../fundamentals/configuration/index.md | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/aspnetcore/fundamentals/configuration/index.md b/aspnetcore/fundamentals/configuration/index.md index 5cf0eed00d..dc6a55318f 100644 --- a/aspnetcore/fundamentals/configuration/index.md +++ b/aspnetcore/fundamentals/configuration/index.md @@ -212,13 +212,13 @@ Environment variable names reflect the structure of an *appsettings.json* file. **environment variables** ```console -setx SmtpServer=smtp.example.com -setx Logging__0__Name=ToEmail -setx Logging__0__Level=Critical -setx Logging__0__Args__FromAddress=MySystem@example.com -setx Logging__0__Args__ToAddress=SRE@example.com -setx Logging__1__Name=ToConsole -setx Logging__1__Level=Information +setx SmtpServer smtp.example.com +setx Logging__0__Name ToEmail +setx Logging__0__Level Critical +setx Logging__0__Args__FromAddress MySystem@example.com +setx Logging__0__Args__ToAddress SRE@example.com +setx Logging__1__Name ToConsole +setx Logging__1__Level Information ``` ### Environment variables set in generated launchSettings.json @@ -1061,13 +1061,13 @@ Environment variable names reflect the structure of an *appsettings.json* file. **environment variables** ```console -setx SmtpServer=smtp.example.com -setx Logging__0__Name=ToEmail -setx Logging__0__Level=Critical -setx Logging__0__Args__FromAddress=MySystem@example.com -setx Logging__0__Args__ToAddress=SRE@example.com -setx Logging__1__Name=ToConsole -setx Logging__1__Level=Information +setx SmtpServer smtp.example.com +setx Logging__0__Name ToEmail +setx Logging__0__Level Critical +setx Logging__0__Args__FromAddress MySystem@example.com +setx Logging__0__Args__ToAddress SRE@example.com +setx Logging__1__Name ToConsole +setx Logging__1__Level Information ``` ### Environment variables set in generated launchSettings.json