Column encryption in ASP MVC app with SQL Server 2016 using .net Core / EF Core

后端 未结 5 1763
感动是毒
感动是毒 2021-02-05 20:09

I am trying to use the \"Always Encrypted\" feature in SQL Server 2016 to encrypt some columns. I used this post as a guide to set the columns as encrypted in SSDT.

That

相关标签:
5条回答
  • 2021-02-05 20:14

    Always Encrypted is now supported in the .NET Core 3.0 Preview 5 through the new Microsoft.Data.SqlClient data provider for Microsoft SQL Server.

    0 讨论(0)
  • 2021-02-05 20:16

    As mentioned by MS folks - Always Encrypted is currently not supported on .Net Core.

    • We had the same situation, finally we had to make the Core WebApp to target .NET Full Framework, there is no other option.

    • i.e., Currently not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1) Compatible with net452 (.NETFramework,Version=v4.5.2)

    • From forums - "Eventhough EF Core could work for AE feature, but still the underlying .NET Core SQL Client currently does not support for AE, and it will be in their (MS + Opensource ontributors) future mile stone to support it"

    Please refer this GitHub page for any recent updates on this issue:

    0 讨论(0)
  • 2021-02-05 20:21

    It just mention here

    Microsoft.data.sqlclient

    0 讨论(0)
  • 2021-02-05 20:25

    Always Encrypted is currently not supported on .Net Core

    You can find the list of supported frameworks here

    Adding Support for .NET core is on our roadmap, we do not have timeline for it yet

    Please follow this github issue for updates

    0 讨论(0)
  • 2021-02-05 20:31

    As of .net Core 3.1 this is supported. I have it running in production scenario See my Answer on this stackoverflow question (Using EFCore and Azure KeyVault) : SQL Server Always Encrypted with .NET Core not compatible

    0 讨论(0)
提交回复
热议问题