Commit Graph

386 Commits

Author SHA1 Message Date
Pranav K fa33a55867 Updating build scripts to point to 2.0.0-preview2 KoreBuild 2017-05-31 19:53:14 -07:00
Pranav K 5c556079c2 Branching for rel/2.0.0-preview2 2017-05-31 19:36:17 -07:00
Kiran Challa 9ef496fe5b Updated to use the latest shared runtime 2017-05-26 12:39:04 -07:00
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
Nate McMaster f70e17c138 Upgrade test framework versions 2017-05-15 16:02:04 -07:00
Mike Harder c86336bb42 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-05-08 13:06:54 -07:00
Mike Harder 47ee65f318 Upgrade StackExchange.Redis.StrongName to version 1.2.3 (#231)
- Addresses package downgrade warnings (https://github.com/aspnet/DataProtection/issues/227)
2017-05-08 13:04:25 -07:00
John Luo c90414939c Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 17:11:16 -07:00
Chris R 129edaec7c Remove IHostingEnvironment dependency (#230) 2017-05-05 17:03:33 -07:00
Chris Ross (ASP.NET) 3a7022fdcd Remove IHostingEnvironment dependency 2017-05-05 15:41:16 -07:00
Pavel Krymets d91d627c04 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:20:16 -07:00
Pavel Krymets 1e639aca49 Update InternalAspNetCoreSdkVersion 2017-05-05 10:20:05 -07:00
Pranav K 8aeca90757 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-05-01 22:01:41 -07:00
Nate McMaster 53caf55116 Remove unnecessary null check.
Resolves #210
2017-05-01 16:25:44 -07:00
Pranav K e70ee8ab6e Use the bundled NETStandard.Library package in netstandard targeting libraries 2017-05-01 12:39:07 -07:00
Pranav K febaba8367 Updating package version to preview2 2017-04-26 07:12:42 -07:00
Pranav K 7b291ca40b Merge branch 'rel/2.0.0-preview1' into dev 2017-04-25 22:01:31 -07:00
Pranav K 3489d02720 Branching for 2.0.0-preview1 2017-04-25 22:01:28 -07:00
Nate McMaster 4dad47eeab Ignore assembly version when activating DataProtection types from string name (#223) 2017-04-25 14:29:26 -07:00
Pranav K 5fe4807c1e Use Bundled NETStandard.Library \ NETCoreApp versions instead of explicitly specifying one 2017-04-25 11:04:07 -07:00
Smit Patel edd7386aa8 Update API Check related files
React to aspnet/BuildTools#238
2017-04-25 08:19:12 -07:00
Ajay Bhargav Baaskaran c959795a64 Creating one IAuthenticatedEncryptor per IKey 2017-04-24 10:46:33 -07:00
John Luo ff3ff939c3 Update WindowsAzure.Storage version (#217)
* Update WindowsAzure.Storage version

* Remove target fallback
2017-04-05 16:28:43 -07:00
Ajay Bhargav Baaskaran 697745c490 [Fixes #218] Set IXmlRepository using ConfigureOptions 2017-04-05 16:08:18 -07:00
Pranav K 9b5a26f774 Updating versions to 2.0.0-preview1 2017-04-03 21:41:09 -07:00
Pranav K 679a0e60f7 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:32 -07:00
Pranav K 91406009d3 Remove net451 as a cross-compile target 2017-03-23 17:20:12 -07:00
Kiran Challa bb7b58321c Converted samples and test projects to run on netcoreapp2.0 2017-03-23 17:05:16 -07:00
Doug Bunting 55507de7dd Disable API Check in a project with untracked breaking changes 2017-03-22 08:33:14 -07:00
Nate McMaster 7628d2f634
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 12:05:57 -07:00
Ajay Bhargav Baaskaran 1ce7fc7245 Use TryAdd to add services 2017-03-15 17:57:44 -07:00
Nate McMaster 6a61e10a4b Unify dependency versions and remove workarounds 2017-03-15 10:47:41 -07:00
Ajay Bhargav Baaskaran cde3b96aa7 [Fixes #134] Refactored DI support
- Refactored builder extensions and service collection extensions
- Refactored Settings/Configuration/Descriptor
- Removed ConfigurationCommon/AuthenticatedEncryptorConfigurationExtensions
- Added IAuthenticatedEncryptorFactory and implementations
- Refactored IKey to have Descriptor instead of CreateEncryptorInstance()
- Handled Repository/Encryptor special logic
- Added samples
- Updated tests
2017-03-14 19:58:46 -07:00
Nate McMaster bf7a238b85
Update appveyor and travis settings 2017-03-14 13:39:54 -07:00
David Fowler f162534f91 Merge pull request #204 from aspnet/no-mono
No mono
2017-03-09 13:36:22 -08:00
David Fowler def3524f46 Update .travis.yml 2017-03-08 20:49:59 -08:00
Nate McMaster 7f82c7030a Update AppVeyor and Travis settings 2017-03-01 18:25:39 -08:00
Nate McMaster 55a7f9d8c9 Change korebuild branch and fix argument forwarding in bootstrapper 2017-03-01 18:14:13 -08:00
Nate McMaster 89a63f5885
Downgrade to stable packages 2017-02-14 16:15:28 -08:00
Doug Bunting a2a3d35852 Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 09:05:16 -08:00
Nate McMaster ab33b6afe8 Remove usage of conditional multi-targeting 2017-02-01 12:35:44 -08:00
Nate McMaster 0668a2a52e Upgrade to VS 2017 2017-01-31 16:51:24 -08:00
Nate McMaster 0e45531eb7 Remove the .Sources package from the solution file and remove the 'shared' project within the test folder 2017-01-04 17:17:33 -08:00
Nate McMaster 0f276780de Remove Microsoft.AspNetCore.DataProtection.Sources package 2017-01-04 15:24:13 -08:00
Pranav K b3afbc79d2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Ajay Bhargav Baaskaran 981dc794b3 Removed packages list in NuGetPackageVerifier.json 2016-12-12 00:49:46 -08:00
N. Taylor Mullen 09b1f9e511 Update .travis.yml osx image to xcode7.3. 2016-12-08 10:02:34 -08:00
N. Taylor Mullen 8fd272e7ac Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 15:58:01 -08:00
Nate McMaster 184fb812c9
Clean tmp folder after unzipping KoreBuild 2016-11-18 10:56:12 -08:00
Pranav K 8e4ab2c6ff Updating versions to 1.2.0-* 2016-11-09 14:17:00 -08:00