Skip to content

Commit d061609

Browse files
Merge pull request #231530 from cephalin/patch-14
update freshness
2 parents a8a533d + 0656f73 commit d061609

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/app-service/tutorial-connect-msi-sql-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Secure Azure SQL Database connectivity with managed identity from a
44

55
ms.devlang: csharp
66
ms.topic: tutorial
7-
ms.date: 02/16/2022
7+
ms.date: 04/01/2023
88
ms.custom: "devx-track-csharp, mvc, cli-validate, devx-track-azurecli"
99
---
1010
# Tutorial: Connect to SQL Database from .NET App Service without secrets using a managed identity
@@ -169,7 +169,7 @@ The steps you follow for your project depends on whether you're using [Entity Fr
169169
1. In Visual Studio, open the Package Manager Console and add the NuGet package [Microsoft.Data.SqlClient](https://www.nuget.org/packages/Microsoft.Data.SqlClient):
170170
171171
```powershell
172-
Install-Package Microsoft.Data.SqlClient -Version 4.0.1
172+
Install-Package Microsoft.Data.SqlClient -Version 5.1.0
173173
```
174174
175175
1. In the [ASP.NET Core and SQL Database tutorial](tutorial-dotnetcore-sqldb-app.md), the `MyDbConnection` connection string in *appsettings.json* isn't used at all yet. The local environment and the Azure environment both get connection strings from their respective environment variables in order to keep connection secrets out of the source file. But now with Active Directory authentication, there are no more secrets. In *appsettings.json*, replace the value of the `MyDbConnection` connection string with:

0 commit comments

Comments
 (0)