chunliu / net-always-encrypted

A demo of using SQL Always Encrypted with ASP.NET MVC and Entity Framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net-always-encrypted

The code in this repo demonstrates how to use SQL Always Encrypted and Azure Key Vault with ASP.NET MVC and Entity Framework.

The code in the following folders:

  • netcore - .NET 5 + EF Core + Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider
  • netfx - .NET Framework 4.8 + EF6 + Microsoft.SqlServer.Management.AlwaysEncrypted.AzureKeyVaultProvider

Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider cannot be used for EF6 since Microsoft.Data.SqlClient is not compatible with EF6. dotnet/SqlClient#725

About

A demo of using SQL Always Encrypted with ASP.NET MVC and Entity Framework.


Languages

Language:JavaScript 94.6%Language:C# 2.7%Language:HTML 2.4%Language:CSS 0.2%Language:ASP.NET 0.0%