You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Open the issue using the **Open a documentation issue** link and feedback form at the bottom of the article.
12
+
13
+
Using the **Open a documentation issue** link and form to open an issue adds article metadata for tracking, which indicates the article that you're commenting on and pings the author for a faster response.
14
+
15
+
If the issue is:
16
+
17
+
* A simple typo or similar correction, you can submit a PR. See the Contributor Guide for instructions: https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents
18
+
* A general support question, consider asking on a support forum:
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/doc-issue.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,12 @@ Using the **Open a documentation issue** link and form to open an issue adds art
14
14
15
15
If the issue is:
16
16
17
-
* A simple typo or similar correction, you can submit a PR. See [the contributor guide](https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents) for instructions.
18
-
* A general support question, consider asking on a support forum site.
19
-
* A site design concern, create an issue at [MicrosoftDocs/Feedback](https://github.com/MicrosoftDocs/Feedback/issues/new/choose).
17
+
* A simple typo or similar correction, you can submit a PR. See the Contributor Guide for instructions: https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents
18
+
* A general support question, consider asking on a support forum:
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,23 @@ This repository contains the [ASP.NET Core documentation](https://learn.microsof
5
5
To provide comments and suggestions on [learn.microsoft.com](https://learn.microsoft.com) site functionality, open an issue in the [`MicrosoftDocs/feedback` GitHub repository](https://github.com/MicrosoftDocs/feedback).
6
6
7
7
ASP.NET 4.x documentation changes are made in the [`dotnet/AspNetDocs` GitHub repository](https://github.com/dotnet/AspNetDocs).
8
+
9
+
## How to open an issue
10
+
11
+
If the issue is with an ASP.NET Core document:
12
+
13
+
* Do **not** open a blank issue.
14
+
* Open the issue using the **Open a documentation issue** link and feedback form at the bottom of the article.
15
+
16
+
Using the **Open a documentation issue** link and form to open an issue adds article metadata for tracking, which indicates the article that you're commenting on and automatically pings the author for a faster response.
17
+
18
+
If the issue is:
19
+
20
+
* A simple typo or similar correction, you can submit a PR. See [the contributor guide](https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents) for instructions.
21
+
* A general support question, consider asking on a support forum site:
* Blazor WebAssembly with ASP.NET Core Identity (<xref:blazor/security/webassembly/standalone-with-identity/index>)
193
-
* .NET MAUI Blazor Hybrid app with a Blazor Web App and a shared UI provided by a Razor class library (RCL) (<xref:blazor/hybrid/tutorials/maui-blazor-web-app>)
194
-
195
-
:::moniker-end
196
-
197
181
:::moniker range="< aspnetcore-8.0"
198
182
199
183
The sample repo contains two types of samples:
@@ -206,7 +190,7 @@ The sample repo contains two types of samples:
206
190
207
191
:::moniker-end
208
192
209
-
For more information, see the [Blazor samples GitHub repository README.md file](https://github.com/dotnet/blazor-samples).
193
+
For more information and a list of the samples in the repository, see the [Blazor samples GitHub repository README.md file](https://github.com/dotnet/blazor-samples).
210
194
211
195
The ASP.NET Core repository's Basic Test App is also a helpful set of samples for various Blazor scenarios:
Copy file name to clipboardExpand all lines: aspnetcore/fundamentals/configuration/index.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ ms.custom: mvc
8
8
ms.date: 04/26/2024
9
9
uid: fundamentals/configuration/index
10
10
---
11
+
<!-- ms.sfi.ropc: t -->
11
12
# Configuration in ASP.NET Core
12
13
13
14
By [Rick Anderson](https://twitter.com/RickAndMSFT) and [Kirk Larkin](https://twitter.com/serpent5)
@@ -158,15 +159,15 @@ Configuration data guidelines:
158
159
* Never store passwords or other sensitive data in configuration provider code or in plain text configuration files. The [Secret Manager](xref:security/app-secrets) tool can be used to store secrets in development.
159
160
* Don't use production secrets in development or test environments.
160
161
* Specify secrets outside of the project so that they can't be accidentally committed to a source code repository.
162
+
* Production apps should use the most secure authentication flow available. For more information, see [Secure authentication flows](xref:security/index#secure-authentication-flows).
161
163
162
164
By [default](#default), the user secrets configuration source is registered after the JSON configuration sources. Therefore, user secrets keys take precedence over keys in `appsettings.json` and `appsettings.{Environment}.json`.
163
165
164
166
For more information on storing passwords or other sensitive data:
165
167
166
168
*<xref:fundamentals/environments>
167
169
*<xref:security/app-secrets>: Includes advice on using environment variables to store sensitive data. The Secret Manager tool uses the [File configuration provider](#fcp) to store user secrets in a JSON file on the local system.
168
-
169
-
[Azure Key Vault](https://azure.microsoft.com/services/key-vault/) safely stores app secrets for ASP.NET Core apps. For more information, see <xref:security/key-vault-configuration>.
170
+
*[Azure Key Vault](https://azure.microsoft.com/services/key-vault/) safely stores app secrets for ASP.NET Core apps. For more information, see <xref:security/key-vault-configuration>.
170
171
171
172
<aname="evcp"></a>
172
173
@@ -408,6 +409,8 @@ The preferred way to read hierarchical configuration data is using the options p
The Configuration API has special processing rules for four connection string environment variables. These connection strings are involved in configuring Azure connection strings for the app environment. Environment variables with the prefixes shown in the table are loaded into the app with the [default configuration](#default) or when no prefix is supplied to `AddEnvironmentVariables`.
The sample app demonstrates how to create a basic configuration provider that reads configuration key-value pairs from a database using [Entity Framework (EF)](/ef/core/).
Copy file name to clipboardExpand all lines: aspnetcore/fundamentals/configuration/index/includes/index6.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
:::moniker range="= aspnetcore-6.0"
2
-
2
+
<!-- ms.sfi.ropc: t -->
3
3
Application configuration in ASP.NET Core is performed using one or more [configuration providers](#cp). Configuration providers read configuration data from key-value pairs using a variety of configuration sources:
4
4
5
5
* Settings files, such as `appsettings.json`
@@ -135,6 +135,7 @@ Configuration data guidelines:
135
135
* Never store passwords or other sensitive data in configuration provider code or in plain text configuration files. The [Secret Manager](xref:security/app-secrets) tool can be used to store secrets in development.
136
136
* Don't use production secrets in development or test environments.
137
137
* Specify secrets outside of the project so that they can't be accidentally committed to a source code repository.
138
+
* Production apps should use the most secure authentication flow available. For more information, see [Secure authentication flows](xref:security/index#secure-authentication-flows).
138
139
139
140
By [default](#default), the user secrets configuration source is registered after the JSON configuration sources. Therefore, user secrets keys take precedence over keys in `appsettings.json` and `appsettings.{Environment}.json`.
140
141
@@ -385,6 +386,8 @@ The preferred way to read hierarchical configuration data is using the options p
The Configuration API has special processing rules for four connection string environment variables. These connection strings are involved in configuring Azure connection strings for the app environment. Environment variables with the prefixes shown in the table are loaded into the app with the [default configuration](#default) or when no prefix is supplied to `AddEnvironmentVariables`.
0 commit comments