Go to file
Nate McMaster b706a75e03 Target .NET Standard 2.0
This retargets all data protection libraries to ns2.0. This means .NET
Framework applications will need to upgrade to .NET Framework 4.6.1.
This upgrade makes available API to .NET Core that was previously only
available on .NET Framework, such as encrypting keys at rest with
certificates.

New API for .NET Core users:
- IDataProtectionBuilder.ProtectKeysWithCertificate(string thumbprint)
- CertificateXmlEncryptor
- ICertificateResolver
- DataProtectionProvider
  - .Create(string applicationName, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, Action<IDataProtectionBuilder>
  setupAction, X509Certificate2 certificate

Other minor changes in this commit:
- Fixed samples that were using obsolete logging API
- Remove calls to api-sets, instead using kernel32. .NET Core 2.0 no
longer requires using api-sets as Nano Server now forwards kernel32
calls
- Made minor improvements to the TypeForwardingActivator
- Remove dead code an unused api baselines
- Enable more tests on macOS/Linux that previously only ran on Windows
2017-05-24 09:47:10 -07:00
build Target .NET Standard 2.0 2017-05-24 09:47:10 -07:00
samples Target .NET Standard 2.0 2017-05-24 09:47:10 -07:00
shared Remove Microsoft.AspNetCore.DataProtection.Sources package 2017-01-04 15:24:13 -08:00
src Target .NET Standard 2.0 2017-05-24 09:47:10 -07:00
test Target .NET Standard 2.0 2017-05-24 09:47:10 -07:00
.gitattributes
…
.gitignore Remove net451 as a cross-compile target 2017-03-23 17:20:12 -07:00
.travis.yml Upgrade StackExchange.Redis.StrongName to version 1.2.3 (#231) 2017-05-08 13:04:25 -07:00
CONTRIBUTING.md
…
DataProtection.sln Target .NET Standard 2.0 2017-05-24 09:47:10 -07:00
DataProtection.sln.DotSettings
…
LICENSE.txt
…
NuGet.config Branching for 2.0.0-preview1 2017-04-25 22:01:28 -07:00
NuGetPackageVerifier.json Remove Microsoft.AspNetCore.DataProtection.Sources package 2017-01-04 15:24:13 -08:00
Provision-AutoGenKeys.ps1
…
README.md
…
appveyor.yml Upgrade StackExchange.Redis.StrongName to version 1.2.3 (#231) 2017-05-08 13:04:25 -07:00
build.cmd
…
build.ps1 Branching for 2.0.0-preview1 2017-04-25 22:01:28 -07:00
build.sh Branching for 2.0.0-preview1 2017-04-25 22:01:28 -07:00
version.props Updating package version to preview2 2017-04-26 07:12:42 -07:00

README.md

DataProtection

AppVeyor: AppVeyor

Travis: Travis

Data Protection APIs for protecting and unprotecting data.

This project is part of ASP.NET Core. You can find documentation for Data Protection in the ASP.NET Core Documentation. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.