Commit Graph

42 Commits

Author SHA1 Message Date
Nate McMaster 28acde451e Use Directory.Build.props/targets 2017-08-29 09:14:03 -07:00
Nate McMaster 8ed38f5dcf Upgrade to xunit 2.3.0-beta4 2017-08-22 15:01:11 -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
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
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
Pranav K 3d3d6a3fba Updating partner package versions 2016-10-03 12:06:50 -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
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
Pavel Krymets a20299eeeb Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:47:48 -07:00
Pavel Krymets 6aca37fe5e Migrate tests, tools and samples to portable 2016-04-18 08:37:56 -07:00
Pranav K 6ad27bb705 * Remove xunit.runner.console reference
* Replace ExceptionAssert2.ThrowsArgumentNull with
 ExceptionAssert.ThrowsArgumentNull
2016-03-17 17:11:49 -07:00
Pranav K 64f7eff322 Fixing CI build break 2016-03-15 12:39:38 -07:00
Doug Bunting a424475be7 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 16:36:52 -08:00
N. Taylor Mullen d33c2ac377 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:31:31 -08:00
John Luo ec5808f8b6 Updating test TFMs for custom test discovery 2016-02-18 15:02:27 -08:00
N. Taylor Mullen 3b4b3b8ca2 Remove System.Runtime dependency.
- This dependency is now pulled in transitively.
- It was temporarily re-added due to a DNX bug.
2016-02-13 22:05:25 -08:00
Brennan 314bc21413 Add missing framework assemblies 2016-02-11 13:29:58 -08:00
Kiran Challa 85b1ac37bf Enable tests to run using donet xunit test runner 2016-02-09 21:42:36 -08:00
N. Taylor Mullen 7190b704b1 Temporary build test fixes. 2016-02-06 15:08:27 -08:00
John Luo 0d4fe3ba72 Updating to new CLI 2016-02-01 18:52:41 -08:00
N. Taylor Mullen 43dfd15a01 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:32:33 -08:00
N. Taylor Mullen b87a8001fe Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:16:08 -08:00