Commit Graph

16116 Commits

Author SHA1 Message Date
Levi B d673df7ef3 Reliability improvements to key ring updates
- Optimistically treat failures as transient and continue to use any existing cached key ring for a short period of time
- Updates to the key ring shouldn't block other threads; they can use the outdated version while waiting for the update
2015-03-17 00:46:24 -07:00
Levi B 612a81d9ce Defer processing <key> descriptors until necessary
- Make CreateNewKey more robust against bad key repositories
- Don't hide key deserialization errors
2015-03-16 23:32:20 -07:00
Levi B 4365b531d8 Use C# 6 string interpolation feature
Provides cleanup in logging and removes calls to String.Format
2015-03-16 21:38:21 -07:00
Hao Kung 47b34cd1da React to auth changes 2015-03-16 18:38:53 -07:00
Hao Kung b761e7d8c2 Fix tests to check results for null 2015-03-16 17:47:29 -07:00
Praburaj 7a245eba5b Update welcome page text from ASP.NET vnext to 5
Fixes: https://github.com/aspnet/Diagnostics/issues/82
2015-03-16 16:52:24 -07:00
Hao Kung efc5ea9b5d React to auth changes 2015-03-16 16:46:56 -07:00
Ajay Bhargav Baaskaran f63702754f [Fixes #160] Added OnResponseCompleted to HttpResponse 2015-03-16 15:50:58 -07:00
Ajay Bhargav Baaskaran c1e298b010 React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted 2015-03-16 15:10:53 -07:00
ianhong 29909e15f3 Cleaning up AntiForgery 2015-03-16 14:55:47 -07:00
Hao Kung 08ddbe8531 Auth cleanup
- Rename Security folder -> Authentication
- Change Authenticate to only take one scheme to match other APIs, the
params overload did not make it any cleaner to consume (since it didn't
produce a combined ClaimsPrincipal anyways)
2015-03-16 14:26:46 -07:00
Praburaj 3b0d5fd422 Add extension method for getting environment name
Fixes: https://github.com/aspnet/Hosting/issues/100
2015-03-16 13:13:50 -07:00
Smit Patel 403f7c7585 Ef : Enabled Autogeneration for ArtistId & GenreId using sequence which allows explicit values 2015-03-16 12:09:03 -07:00
Levi B 0966e37d94 Doc comment cleanup on GetApplicationUniqueIdentifier 2015-03-14 15:43:39 -07:00
Levi B 82d92064c5 Continued API improvements and refactoring
- Add helpful extension methods to Interfaces project
- Auto heuristic detection now writes default protection settings to the ILogger
- Cleanup dead methods / add useful methods in DataProtectionConfiguration
- Update System.Web compatibility project to allow mapping MachineKey.Protect directly to IDataProtector.Protect
2015-03-14 14:29:39 -07:00
Praburaj e8d3fbf7bc Using [NotNull] from common repo package 2015-03-14 07:44:02 -07:00
Praburaj 4373b6bf62 Using [NotNull] from the common repo package 2015-03-14 07:30:29 -07:00
Praburaj 93deb0b440 Remove dependency on DependencyInjection and instead use DependencyInjection.Interfaces on Http.Extensions
Fixes: https://github.com/aspnet/HttpAbstractions/issues/228
2015-03-13 19:56:45 -07:00
Praburaj b77e9d2d9c Using [NotNull] attribute from the Common repo package 2015-03-13 17:44:51 -07:00
Praburaj b879f4a084 using [NotNull] attribute from the Common repo 2015-03-13 17:21:37 -07:00
Praburaj 6ee155c40f Move IServiceCollection extension to Microsoft.Framework.DependencyInjection namespace
Fixes: https://github.com/aspnet/Diagnostics/issues/96
2015-03-13 17:11:23 -07:00
Smit Patel 117dbc4887 Reacting to Changes in EF: Disabling use of Identity Column for PK 2015-03-13 15:56:59 -07:00
Praburaj ca07b6e2fd Using new encoders over the old encoders. 2015-03-13 12:50:49 -07:00
Praburaj 5004bac6aa React to AddSessionServices rename to AddSession 2015-03-13 11:56:20 -07:00
Praburaj 6c57ca7c1e Move IServiceCollection extensions into Microsoft.Framework.DependencyInjection namespace
Fixes:
https://github.com/aspnet/Session/issues/10
https://github.com/aspnet/Session/issues/8

1. Renaming the class name containing the extension
2. Consolidating the AddSession() and ConfigureSession overloads with same pattern we follow in other repos
3. Rename AddSessionServices() => AddSession() like all other repos
2015-03-13 11:45:17 -07:00
Eilon Lipton c2cbd62eec Merge pull request #7 from hishamco/dev
Adds CookiePath to SessionDefaults
2015-03-13 09:15:17 -07:00
hishamco 177d1ffb64 Adds CookiePath to SessionDefaults
Adds CookiePath to SessionDefaults

Revert "Adds CookiePath to SessionDefaults"

This reverts commit d025a89cbb555b5b92cb5de2dc848da036021301.

Remove extra tab

Revert "Remove extra tab"

This reverts commit 80b1e4976a902a5e507702b1e46e57dec0c72da4.

Change tab to spaces

Adds CookiePath to SessionDefaults
2015-03-13 15:03:30 +03:00
N. Taylor Mullen 649a74a753 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-13 00:34:51 -07:00
Levi B 2337d7808d Change dependency reference WebEncoders -> WebEncoders.Core 2015-03-12 22:57:44 -07:00
Levi B 8ca2728ef8 Split encoders into two packages to resolve layering issues
The core package has no external dependencies aside from NetFX-produced packages
2015-03-12 22:35:47 -07:00
N. Taylor Mullen 20bcd6346e Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:26:17 -07:00
N. Taylor Mullen f3df66cfea Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:22:37 -07:00
N. Taylor Mullen a10acfd4cd Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:17:33 -07:00
N. Taylor Mullen 2641c41ed5 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:11:14 -07:00
N. Taylor Mullen d3313f2b6e Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:07:49 -07:00
Praburaj 36271260a1 Reacting to Caching extension rename 2015-03-12 17:06:16 -07:00
Praburaj 48f2d14413 React to Caching extension rename 2015-03-12 16:57:32 -07:00
Brennan a06d05ffae Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:27:02 -07:00
Brennan 20ffd7e081 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:26:13 -07:00
Victor Hurdugaci a14b35ca6c Skip credentials prompt for CI builds 2015-03-12 16:23:47 -07:00
Brennan 8fb42e4d16 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:14:29 -07:00
Levi B bf7283697d Flow logging through the AuthenticatedEncryption types 2015-03-12 16:12:17 -07:00
Brennan 4883cfe40d XRE name changes 2015-03-12 16:06:36 -07:00
Levi B 7fe33e8159 DataProtectionServices should prefer registry over defaults
Comment cleanup in CNG-GCM ExportToXml
2015-03-12 14:22:45 -07:00
Doug Bunting 90294aa49c Fix build failures when source is under a directory with spaces in the name
- aspnet/Mvc#2082
- problems specific to local `node` and related installations
 - quote authenticode verification target
 - quote local `node` library paths
 - quote local `npm.cmd` path (with ye olde `/S` double-quoting hack)
 - quote `--prefix` values in `npm install` commands
 - quote `rimraf` directories to delete
2015-03-12 10:33:12 -07:00
Doug Bunting 0610cfbb3e Do not use deprecated `dnvm -x86` switch 2015-03-11 21:50:21 -07:00
Levi B 4f2288c3da Introduce concept of a "fallback key"
This key is used if there is no preferred default key and the developer has disabled automatic key generation. This will keep the service from falling over if the keys are not rolled and they all expire.
2015-03-11 19:39:41 -07:00
Levi B 58c823bc45 Rename KeyLifetimeOptions -> KeyManagementOptions
Simplify default key resolution logic
Introduce API for disabling automatic key generation
2015-03-11 19:39:35 -07:00
Praburaj ad9e11ed2e React to Caching package rename
Dependent on https://github.com/aspnet/Caching/pull/49/files
2015-03-11 17:39:00 -07:00
Praburaj a3772cf6d5 React to Caching package rename
Dependent on https://github.com/aspnet/Caching/pull/49/files
2015-03-11 17:33:04 -07:00