Commit Graph

182 Commits

Author SHA1 Message Date
Nate McMaster 92b40a4dbc
Restore accidental deletion of common.psm1 2018-12-20 17:34:06 -08:00
James Newton-King 443b1449ff
Update Newtonsoft.Json to 12.0.1 and Newtonsoft.Json.Bson to 1.0.2 (#5122) 2018-12-18 08:55:37 +13:00
Nate McMaster d1ee458982
Remove assemblies from the shared framework (#4004)
Remove assemblies from the shared framework that depend on or contain the following:

* Entity Framework Core
* Owin
* Node and SPA services
* Identity UI
* Middleware analysis
* SQL Client
* Third-party oauth integrations
* Runtime razor components
* JsonPatch
2018-11-15 16:18:58 -08:00
Nate McMaster 5e4166f940
Merge branch 'release/2.2' 2018-10-29 16:05:19 -07:00
Nate McMaster 4433d967ad
Update CLI functional tests to account for the addition of Microsoft.IdentityModel.JsonWebTokens.dll 2018-10-25 11:09:41 -07:00
Nate McMaster 968df9578b
Refactor shared framework projects targets and project layout (#3703)
This refactors the targets used to build the shared framework and its .zip files. There are lots of reasons motivating this: Arcade convergence, migration to VSTS, making it easier to build this locally, etc.

Changes:
* Moves move content of build/Sharedfx.{props/targets} into eng/targets/SharedFx.Common.{props/targets}
* Update the build to produce a `runtime.$rid.Microsoft.AspNetCore.App` package (not just the one with symbols in it)
* Refactor the targets which produce .tar.gz/.zip files into separate projects in `src/Installers/`
* Refactor installers, unit tests, and the framework projects to use ProjectReference to flow dependencies between different parts of the build.
* Makes it easier to build the shared framework locally (for the inner dev loop, you can run `dotnet build -p src/Framework/Microsoft.AspNetCore.App/src/ -r win-x64`)
2018-10-24 15:42:06 -07:00
Nate McMaster a35226131a
Merge branch release/2.2 2018-10-16 12:02:18 -07:00
Ryan Brandenburg c6ed32fee8 Remove deleted files from baselines 2018-10-16 10:37:47 -07:00
Nate McMaster 3eb0764fae
Reorganize source code from aspnet/DataProtection into a subfolder
Prior to reorg, this source existed at 9c7731f1fa
2018-10-15 10:47:38 -07:00
BrennanConroy 9c7731f1fa Merge branch 'release/2.2' 2018-10-11 10:23:24 -07:00
BrennanConroy 3f5f419df8
Add Redis 2.0 package (#325) 2018-10-10 16:40:52 -07:00
Nate McMaster 7c0bad4cef
Merge branch 'release/2.2' 2018-09-27 13:00:01 -07:00
Mike Harder cf204df326
Merge branch 'release/2.2' into merge/release/2.1-to-release/2.2 2018-09-27 12:24:12 -07:00
Mike Harder e8d3321025
Add AdditionalRestoreSources parameter to Cli.FunctionalTests (#1429)
- Required for builds which need to restore from multiple feeds
2018-09-27 12:17:14 -07:00
Nate McMaster df5c83024c
Merge branch 'release/2.2' 2018-09-27 10:56:58 -07:00
Mike Harder 9cb2c7a8d6
Update Cli.FunctionalTests for latest 2.2-preview3 (#1425) 2018-09-27 10:19:19 -07:00
Nate McMaster 3dc53456e2
Merge branch 'release/2.2' 2018-09-26 11:10:00 -07:00
Nate McMaster deaeb45a64
Merge branch 'release/2.1' into release/2.2 2018-09-26 11:05:32 -07:00
Mike Harder a624afdf8e
Functional tests for .NET Core CLI 2.1.X (#1415) 2018-09-26 10:51:03 -07:00
Nate McMaster a6847de87d
Fix PipeBuild parameter: PB_RESTORESOURCES => PB_RESTORESOURCE 2018-09-26 09:53:31 -07:00
Nate McMaster 90ed3bde5e
Add more logging for E2E tests
Trying to diagnose why ProdCon fails to download metadata
2018-09-26 09:42:18 -07:00
Nate McMaster 9941fb825f
Update TFM to .NET Core 3.0 (#324) 2018-09-06 08:23:55 -07:00
Nate McMaster fe759072f8
Merge branch 'release/2.2' 2018-08-31 16:58:52 -07:00
Mike Harder a22b715bf4
Update published files for 2.2-preview2 (#1370)
- Also convert env vars to UPPER_CASE for compat with Mac and Linux
2018-08-31 16:56:56 -07:00
Nate McMaster b2cf5028e0
Run E2E tests in parallel and on macOS (#1369) 2018-08-31 14:24:32 -07:00
Nate McMaster 60fc0158c1
Flow the ProdCon restore feed in to E2E tests 2018-08-31 12:25:29 -07:00
Nate McMaster 7520ffa0ef
Fix up service scoping in the EF Core xml repository and update package version to 2.2 2018-08-30 16:22:43 -07:00
Nate McMaster a8316cd7ab
Merge branch 'release/2.2' 2018-08-29 21:44:45 -07:00
Nate McMaster 7dc68e6f91
Fix syntax errors in the e2e test build definition 2018-08-29 21:33:59 -07:00
Nate McMaster f6fc60a0ed
Add script to invoke E2E tests on CI using ProdCon results (#1354) 2018-08-29 19:37:09 -07:00
Mike Harder 05291af90b Cli.FunctionalTests: Remove .gitignore (#1353) 2018-08-29 19:36:46 -07:00
Mike Harder b465a3b4a3 Functional tests for .NET Core CLI 2018-08-29 16:48:49 -07:00
dan.s.ward 8f7d995508 Added Entity Framework Core backed IXmlRepository with tests and sample (#303) 2018-08-29 14:04:37 -07:00
Nate McMaster e0235b1e21
Fix aspnet/Home#3379 - add a functional test for Redis storage provider to ensure keys round-trip (#321) 2018-08-10 15:20:09 -07:00
Nate McMaster fb7a5b92cc
Merge branch 'release/2.2' 2018-07-05 15:18:12 -07:00
Nate McMaster 2af13658fc
Unprotect key material with the local cache of certificates before checking the cert store
In some cases, private keys for certificates is not completely available. When attempting to decrypt key material,
this can cause 'CryptographicException: Keyset does not exist'. This changes the order in which key material
decryption looks up private keys to first key the certificate options provided explicitly to the API, and then
falling back to the cert store for decryption keys.
2018-07-05 11:31:46 -07:00
Nate McMaster 71de7a98f5
Merge branch 'release/2.1' into release/2.2 2018-07-05 10:21:51 -07:00
Nate McMaster 55e0fd5677
Fix the version override check for ProdCon builds 2018-07-02 17:02:30 -07:00
Ryan Brandenburg 5b0f8118ea
Upgrade to .NET Core 3.0.0-preview1-26629-04 (#1240)
* Upgrade to .NET Core 3.0.0-preview1-26629-04
2018-06-29 16:27:55 -07:00
Nate McMaster 91a1d2de50
Add unit tests for the shared framework (#1228)
Changes:
* Add a test project with simple unit tests for the shared framework
* Add root-level Directory.Build.props/targets files
* Cleanup .csproj files to reduce duplication
2018-06-27 14:56:10 -07:00
Nate McMaster 3f3bfe05ec
Add a test condition for skipping tests when the default keychain is missing for macOS 2018-06-08 14:44:30 -07:00
Nate McMaster b1b92385c0
Add unit tests for the shared framework
Changes:
* Add a test project with simple unit tests for the shared framework
* Add root-level Directory.Build.props/targets files
* Cleanup .csproj files to reduce duplication
2018-06-08 10:33:31 -07:00
Ryan Brandenburg 15ff22bc5c Upgrade to netcoreapp22 2018-05-08 10:50:10 -07:00
Nate McMaster fb2f89ed51
Factor out internal interface for default directory testing
Create an internal abstraction for finding the default directories for key storage. This allows us to run tests without squashing on keys on the developer machine. It also allows us to isolate test runs from reach other.
2018-05-01 14:22:42 -07:00
Nate McMaster fb948aea7d
Fix flaky test: System_NoKeysDirectoryProvided_UsesDefaultKeysDirectory (#305) 2018-04-17 08:38:59 -07:00
Nate McMaster e552b5861a
Switch default implementation of Pbkdf2 on Linux/macOS to Rfc2898DeriveBytes (#301)
Requires adding .NET Core 2.0 target framework to the package because only SHA1 is supported in .NET Standard 2.0
2018-03-06 09:31:03 -08:00
Nate McMaster 70dcbf6ed6
Add UnprotectKeysWithAnyCertificate 2018-02-22 08:50:03 -08:00
Nate McMaster eea8c1a146
Support decrypting keys with X509Certificate that is not in the X509Store
The default implementation of EncryptedXml doesn't support using the RSA
key from X509Certificate to decrypt xml unless that cert is in the X509
CurrentUser\My or Localmachine\My store. This adds support for
decrypting with the X509Certificate directly. This is useful for Linux
(often Docker) scenarios, where the user already has a .pfx file, but
may not have added it to X509Store.
2018-02-16 12:11:20 -08:00
Pranav K f0fef3f20d Update samples and tests to target netcoreapp2.1 2017-11-13 15:27:54 -08:00
Nate McMaster 49b2e22ab3 Pin tool and package versions to make builds more repeatable 2017-11-01 09:09:28 -07:00