Граф коммитов

128 Коммитов

Автор SHA1 Сообщение Дата
Nate McMaster f5004b5ad8 Update how PackageReference versions are set
Changes:
 - Remove floating versions
 - Disable myget feeds during a Universe build
 - Use package-specific MSBuild variables. Pattern = `packageId.Pascalize() + "PackageVersion"`, with a few exceptions.
2017-10-09 11:10:14 -07:00
Nate McMaster ed827c0012 Fix bug in test data 2017-09-21 10:04:58 -07:00
Pranav K 5d6330e6b1 Pinning versions for 2.0.0 2017-08-17 14:59:12 -07:00
Ryan Brandenburg b61244dac9 Remove AssetTargetFallback 2017-06-30 12:18:59 -07:00
Kiran Challa 4a4960f2c8 Merge branch 'rel/2.0.0-preview2' into dev-gate 2017-06-15 03:40:51 -07:00
Kiran Challa 6134a11c28 Changed all references of PackageTargetFallback to AssetTargetFallback 2017-06-14 14:30:53 -07:00
Nate McMaster 5d1a523682 Make ILoggerFactory an optional service on any DI-injected services 2017-06-13 15:15:19 -07:00
Nate McMaster abf05e2856 Docker: add warning when FileSystemXmlRepository saves a key to non-volume mounted folder 2017-06-13 11:04:52 -07:00
Nate McMaster fe83e69b1a Add a startup filter which initializes the key ring before the server starts 2017-06-02 11:31:16 -07:00
Nate McMaster 285b973a5c Use IHostingEnvironment to determine application identifier
Reverses changes made in #230
2017-06-02 11:27:25 -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
Chris R 129edaec7c Remove IHostingEnvironment dependency (#230) 2017-05-05 17:03:33 -07:00
Nate McMaster 4dad47eeab Ignore assembly version when activating DataProtection types from string name (#223) 2017-04-25 14:29:26 -07:00
Ajay Bhargav Baaskaran c959795a64 Creating one IAuthenticatedEncryptor per IKey 2017-04-24 10:46:33 -07:00
Ajay Bhargav Baaskaran 697745c490 [Fixes #218] Set IXmlRepository using ConfigureOptions 2017-04-05 16:08:18 -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
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
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
Pranav K b3afbc79d2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Pranav K 8e4ab2c6ff Updating versions to 1.2.0-* 2016-11-09 14:17:00 -08:00
Pranav K f3a6083c9c Updating to netcoreapp1.1 2016-10-13 11:13:21 -07:00
Pranav K 01e9377eff Revert "Updating to netcoreapp1.1"
This reverts commit a2a214f698.
2016-10-12 16:08:10 -07:00
Pranav K a2a214f698 Updating to netcoreapp1.1 2016-10-12 13:44:59 -07:00
Pavel Krymets 6eacfd2679 Rename Azure.Storage to AzureStorage (#183) 2016-10-04 11:51:50 -07:00
Pranav K 3d3d6a3fba Updating partner package versions 2016-10-03 12:06:50 -07:00
Pavel Krymets 7a3fd8af33 Rename DataProtection.Azure.Blob to DataProtection.Azure.Storage (#180) 2016-09-29 15:23:42 -07:00
Pavel Krymets f7c28fe47f Fix Microsoft.AspNetCore.DataProtection.Azure.Blob dependency version in sample and test 2016-09-07 08:29:37 -07:00
Pavel Krymets 7dcbb27b6f Updated Redis repository project to support .NET Core (#175) 2016-09-06 14:10:13 -07:00
Pavel Krymets 0e210dadea Port DataProtection blob XmlRepository (#163) 2016-09-06 08:09:13 -07:00
Pavel Krymets b340b0f0f7 Add Redis IXmlRepository implementation (#173) 2016-09-02 11:56:47 -07:00
Pranav K 8691686dd8 Updating to Moq \ Castle.Core that does not require imports 2016-08-08 12:35:41 -07:00
Doug Bunting 4f30dddb14 To de-dupe, we must remove
- part of aspnet/Common#93
- use `WebEncoders` from Common repo

Also let VS have its way w/ test `.xproj` files
2016-07-12 16:24:41 -07:00
Doug Bunting 332e0a0b87 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-06 22:03:23 -07:00
Pranav K 12c0f10147 Updating to RTM builds of dotnet-test-xunit and Moq 2016-06-29 16:04:56 -07:00
Pranav K 69fa821522 Updating to dev versions 2016-06-16 10:17:41 -07:00
N. Taylor Mullen ed4862dc40 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:28:27 -07:00
Pavel Krymets b8b0d3894c Try disabling running tests in parallel to fix DataProtectionProviderTests.System_UsesProvidedDirectoryAndCertificate failures 2016-06-09 15:54:43 -07:00
Pavel Krymets 47d3ffdddc Add activator fallback to support rc1 keys 2016-06-03 12:27:17 -07:00
BrennanConroy acb8732ffd Replace PlatformAbstractions with RuntimeInformation 2016-05-27 16:01:59 -07:00
N. Taylor Mullen cc9873ae6c Unique-ify extension types to not be ambiguous.
- Also updated test class names to reflect new extension naming.

#148
2016-05-26 10:31:13 -07:00
Pranav K e8faec59f0 Fixing schema change warnings 2016-05-18 19:09:57 -07:00
Pranav K 5abd3bf076 Fix build warnings 2016-05-02 11:27:08 -07:00
Pranav K 5e81b89378 Replace IApplicationEnvironment with IHostingEnvironment 2016-04-25 16:54:35 -07:00
Pranav K 36d84468fa Use latest build of dotnet-test-xunit 2016-04-19 14:53:54 -07:00