Skip to content

Commit 5a2d54e

Browse files
committed
fixes
1 parent 8c6bbf2 commit 5a2d54e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/azure/sdk/aspnetcore-guidance.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ Complete the following steps to register the services you need:
4040
:::code source="snippets/aspnetcore-guidance/BlazorSample/Program.cs" range="11-30":::
4141
4242
4. Inject the registered services into your ASP.NET Core app components, services, or API endpoint methods:
43-
43+
<!-- markdownlint-disable MD023 -->
4444
## [Minimal API](#tab/api)
4545
4646
:::code source="snippets/aspnetcore-guidance/MinApiSample/Program.cs" range="44-59" highlight="44,47,48":::
47-
47+
<!-- markdownlint-disable MD023 -->
4848
## [Blazor](#tab/blazor)
4949
5050
:::code source="snippets/aspnetcore-guidance/BlazorSample/Components/Pages/Home.razor" range="1-28" highlight="5,21":::
@@ -80,12 +80,12 @@ For example, when you run the app locally, `DefaultAzureCredential` discovers an
8080
- Workload identity
8181
- Managed identity
8282
83-
## Set up configurations
83+
## Apply configurations
8484
8585
Azure service clients support configurations to change their default behaviors. There are two ways to configure service clients:
8686
8787
- [Store configurations in environment-dependent JSON files](/dotnet/core/extensions/configuration-providers#json-configuration-provider). Configuration files are generally the recommended approach because they simplify app deployments between environments and reduce hard coded values.
88-
- Apply configurations directly in your code when you register the service client. For example, in the [Register clients and subclients](#register-service-clients-and-subclients) section, you explicitly passed the Uri-typed variables to the client constructors.
88+
- Apply configurations directly in your code when you register the service client. For example, in the [Register clients and subclients](#register-service-clients) section, you explicitly passed the Uri-typed variables to the client constructors.
8989
9090
In the following sections, complete the steps using the `appsettings.Development.json` file for development settings and the `appsettings.json` file for production environment settings. You can add any properties from the [`ClientOptions`](/dotnet/api/azure.core.clientoptions) class to the JSON file.
9191
@@ -131,6 +131,6 @@ The following table depicts how the Azure SDK for .NET `EventLevel` maps to the
131131
| `Verbose` | `Debug` |
132132
| `LogAlways` | `Information` |
133133
134-
You can change default log levels and other settings using the same JSON configurations outlined in the [configure authentication](#configure-authentication) section. For example, toggle a the `ServiceBusClient` log level to `Debug` by setting the `Logging:LogLevel:Azure.Messaging.ServiceBus` key as follows:
134+
You can change default log levels and other settings using the same JSON configurations outlined in the [configure authentication](#authenticate-using-microsoft-entra-id) section. For example, toggle a the `ServiceBusClient` log level to `Debug` by setting the `Logging:LogLevel:Azure.Messaging.ServiceBus` key as follows:
135135
136-
:::code source="snippets/aspnetcore-guidance/BlazorSample/appsettings.Development.json" range="2-8":::
136+
:::code source="snippets/aspnetcore-guidance/MinApiSample/appsettings.Development.json" highlight="2-8":::

docs/azure/sdk/snippets/aspnetcore-guidance/BlazorSample/Components/_Imports.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
@using static Microsoft.AspNetCore.Components.Web.RenderMode
77
@using Microsoft.AspNetCore.Components.Web.Virtualization
88
@using Microsoft.JSInterop
9-
@using AspNetCoreAzureSDK
10-
@using AspNetCoreAzureSDK.Components
9+
@using BlazorSample
10+
@using BlazorSample.Components

docs/azure/sdk/snippets/aspnetcore-guidance/BlazorSample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using AspNetCoreAzureSDK.Components;
1+
using BlazorSample.Components;
22
using Azure.Identity;
33
using Azure.Messaging.ServiceBus;
44
using Microsoft.Extensions.Azure;

0 commit comments

Comments
 (0)