Skip to content

Commit 28f3012

Browse files
committed
Update howto-geo-replication.md
1 parent 7fe361a commit 28f3012

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/azure-app-configuration/howto-geo-replication.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ When geo-replication is enabled, and if one replica isn't accessible, you can le
9292

9393
Assuming you have an application using Azure App Configuration, you can update it as the following sample code to take advantage of the failover feature. You can either provide a list of endpoints for AAD authentication or a list of connection strings for access key-based authentication.
9494

95-
#### [.NET](#tab/dotnet)
95+
### [.NET](#tab/dotnet)
9696

9797
Edit the call to the `AddAzureAppConfiguration` method, which is often found in the `program.cs` file of your application.
9898

@@ -114,9 +114,8 @@ configurationBuilder.AddAzureAppConfiguration(options =>
114114
{
115115
// Provide an ordered list of replica connection strings
116116
var connectionStrings = new string[] {
117-
Environment.GetEnvironmentVariable("FIRST_REPLICA_CONNECTION_STRING"),
118-
Environment.GetEnvironmentVariable("SECOND_REPLICA_CONNECTION_STRING") };
119-
117+
Environment.GetEnvironmentVariable("FIRST_REPLICA_CONNECTION_STRING"),
118+
Environment.GetEnvironmentVariable("SECOND_REPLICA_CONNECTION_STRING") };
120119

121120
// Connect to replica endpoints using connection strings
122121
options.Connect(connectionStrings);
@@ -131,7 +130,7 @@ configurationBuilder.AddAzureAppConfiguration(options =>
131130
> - `Microsoft.Azure.AppConfiguration.AspNetCore`
132131
> - `Microsoft.Azure.AppConfiguration.Functions.Worker`
133132
134-
#### [Java Spring](#tab/spring)
133+
### [Java Spring](#tab/spring)
135134

136135
Edit the endpoint configuration in `bootstrap.properties`, to use endpoints which allows a list of endpoints.
137136

0 commit comments

Comments
 (0)