Skip to content

Commit 44fee3e

Browse files
committed
fixes
1 parent d942cc7 commit 44fee3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/azure/sdk/authentication/best-practices.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: 'Authentication best practices with the Azure Identity library for .NET'
3-
description: 'This article describes authentication best practices to follow when using the Azure Identity library.'
2+
title: Authentication best practices with the Azure Identity library for .NET
3+
description: This article describes authentication best practices to follow when using the Azure Identity library.
44
ms.topic: conceptual
5-
ms.date: 01/08/2025
5+
ms.date: 01/15/2025
66
---
77

88
# Authentication best practices with the Azure Identity library for .NET
@@ -19,9 +19,9 @@ To improve app resilience, reuse credential instances when possible. When a cred
1919

2020
In an ASP.NET Core app, implement credential reuse through the `UseCredential` method of `Microsoft.Extensions.Azure`:
2121

22-
:::code language="csharp" source="../snippets/aspnetcore-guidance/BlazorSample/Program.cs" id="snippet_credential_reuse_Dac" highlight="6,7" :::
22+
:::code language="csharp" source="../snippets/auth-best-practices/Program.cs" id="snippet_credential_reuse_Dac" highlight="6,7" :::
2323

24-
For information on this approach, see [Authenticate using Microsoft Entra ID](https://learn.microsoft.com/dotnet/azure/sdk/aspnetcore-guidance?tabs=api#authenticate-using-microsoft-entra-id).
24+
For information on this approach, see [Authenticate using Microsoft Entra ID](/dotnet/azure/sdk/aspnetcore-guidance?tabs=api#authenticate-using-microsoft-entra-id).
2525

2626
Other types of .NET apps can reuse credential instances as follows:
2727

0 commit comments

Comments
 (0)