Skip to content

Commit 5f9dbb0

Browse files
committed
fixes
1 parent e8762bb commit 5f9dbb0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/azure/sdk/aspnetcore-guidance.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 10/22/2024
88

99
# Use the Azure SDK for .NET in ASP.NET Core apps
1010

11-
The Azure SDK for .NET enables ASP.NET Core apps to integrate with many different Azure services. In this article, you'll learn best practices and the steps to implement the Azure SDK for .NET in your ASP.NET Core apps. You'll learn how to:
11+
The Azure SDK for .NET enables ASP.NET Core apps to integrate with many different Azure services. In this article, you'll learn best practices and the steps to adopt the Azure SDK for .NET in your ASP.NET Core apps. You'll learn how to:
1212

1313
- Register services for dependency injection.
1414
- Authenticate to Azure without using passwords or secrets.
@@ -88,11 +88,13 @@ Use the [Azure Identity](/dotnet/api/overview/azure/identity-readme) library for
8888
8989
## Apply configurations
9090
91-
Azure SDK service clients support configurations to change their default behaviors. `IConfiguration` precedence rules are respected by the `Microsoft.Extensions.Azure` extension methods, which are detailed in the [Configuration Providers](/dotnet/core/extensions/configuration#configuration-providers) documentation. There are two ways to configure service clients:
91+
Azure SDK service clients support configurations to change their default behaviors. There are two ways to configure service clients:
9292
9393
- [JSON configuration files](/dotnet/core/extensions/configuration-providers#json-configuration-provider) are generally the recommended approach because they simplify managing differences in app deployments between environments.
9494
- Inline code configurations can be applied when you register the service client. For example, in the [Register clients and subclients](#register-service-clients) section, you explicitly passed the URI variables to the client constructors.
9595
96+
`IConfiguration` precedence rules are respected by the `Microsoft.Extensions.Azure` extension methods, which are detailed in the [Configuration Providers](/dotnet/core/extensions/configuration#configuration-providers) documentation.
97+
9698
Complete the steps in the following sections to update your app to use JSON file configuration for the appropriate environments. Use the `appsettings.Development.json` file for development settings and the `appsettings.Production.json` file for production environment settings. You can add configuration settings whose names are public properties on the [`ClientOptions`](/dotnet/api/azure.core.clientoptions) class to the JSON file.
9799
98100
### Configure registered services

0 commit comments

Comments
 (0)