Skip to content

Commit 8330db3

Browse files
committed
docs(azure-sdk): remove em dashes from next-gen DI tab content
1 parent 1d9fddb commit 8330db3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/azure/sdk/authentication/local-development-dev-accounts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ Next, sign-in to Azure using one of several developer tools that can be used to
7474

7575
The [Azure Identity library](/dotnet/api/azure.identity?view=azure-dotnet&preserve-view=true) provides implementations of <xref:Azure.Core.TokenCredential> that support various scenarios and Microsoft Entra authentication flows. The Azure SDK for .NET offers two patterns for registering Azure service clients with dependency injection:
7676

77-
- **Microsoft.Extensions.Azure (stable)** register clients with `AddAzureClients` and pass a `TokenCredential` to `UseCredential` in code. Use this pattern for production apps today.
78-
- **Azure.Identity configuration and DI (preview)** bind clients and their credentials to a section of `appsettings.json`. No `TokenCredential` instance is constructed in code. Tracked by [azure-sdk-for-net#55491](https://github.com/Azure/azure-sdk-for-net/issues/55491).
77+
- **Microsoft.Extensions.Azure (stable)**: register clients with `AddAzureClients` and pass a `TokenCredential` to `UseCredential` in code. Use this pattern for production apps today.
78+
- **Azure.Identity configuration and DI (preview)**: bind clients and their credentials to a section of `appsettings.json`. No `TokenCredential` instance is constructed in code. Tracked by [azure-sdk-for-net#55491](https://github.com/Azure/azure-sdk-for-net/issues/55491).
7979

8080
Select a tab to see the steps for each pattern.
8181

@@ -133,7 +133,7 @@ Select a tab to see the steps for each pattern.
133133
134134
The package pulls in a compatible prerelease of `Azure.Identity` transitively.
135135
136-
1. In `appsettings.json`, add a section that describes the client endpoint and credential. The section name is arbitrary you reference it by name when you register the client:
136+
1. In `appsettings.json`, add a section that describes the client endpoint and credential. The section name is arbitrary; you reference it by name when you register the client:
137137
138138
```json
139139
"KeyVaultSecrets": {
@@ -150,7 +150,7 @@ Select a tab to see the steps for each pattern.
150150
151151
:::code language="csharp" source="../snippets/authentication/local-dev-account/Program.cs" id="snippet_NextGenAddSecretClient":::
152152
153-
The credential is resolved from the `Credential` subsection automatically — no `TokenCredential` instance is constructed in code.
153+
The credential is resolved from the `Credential` subsection automatically. No `TokenCredential` instance is constructed in code.
154154
155155
> [!NOTE]
156156
> Service-specific extensions like `AddSecretClient` ship with each client library as it adopts the pattern. For libraries that haven't shipped a dedicated extension yet, use the generic `builder.AddAzureClient<TClient, TSettings>("section-name")` method from `Azure.Identity` instead.

0 commit comments

Comments
 (0)