Commit Graph

39185 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
N. Taylor Mullen 36f02690d2 Expose source start/end tags on TagHelperBlocks.
- This is to enable the DesignTime to understand TagHelperBlocks full source structure in order to auto format the document.
2015-03-16 21:22:29 -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
N. Taylor Mullen 2a28e6f4ce Add tests to validate @tagHelperPrefix inheritance.
- Updated some naming bits that were still using the ViewStart name.
- Updated MvcRazorParserTests to test more cases of the parser, especially with @tagHelperPrefix.

#2110
2015-03-16 17:30:11 -07:00
N. Taylor Mullen f49d52b5fc Add @tagHelperPrefix inheritance support.
- Updated some naming bits that were outdated (referring to ViewStart).
- Added a TagHelperDirective merging mechanic to ensure user file descriptors and inherited descriptors come together correctly.

#2110
2015-03-16 17:30:05 -07:00
Hao Kung f05520602f React to Authenticate(schemes) being removed 2015-03-16 16:57:16 -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
Hao Kung 7abccd8f22 React to Shared NotNull 2015-03-16 15:22:46 -07:00
Hao Kung b0c6090774 Identity ApplicationCookie Automatic by default
React to cookie's not being automatic by default
2015-03-16 15:15:44 -07:00
Hao Kung 14d1b467c6 ClaimsXform and RIP AutoAuthHandler
- Initial support for ClaimsTransformation
- merge automatic auth handler back into base
2015-03-16 15:14:44 -07:00
Ajay Bhargav Baaskaran c1e298b010 React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted 2015-03-16 15:10:53 -07:00
Ryan Nowak e16d263cd5 Reduce use of TypeActivation for ModelBinders
These model binders don't have any per-request state so there is no need
for them to be type activated. In one case the model binder actually does
its own caching which is being defeated by the fact that we register it as
type activated.

More changes to come in this area.
2015-03-16 15:10:32 -07:00
ianhong 29909e15f3 Cleaning up AntiForgery 2015-03-16 14:55:47 -07:00
sornaks 37dc8581de Removing 'Options' from the 'ConfigureRouteOptions' extension method name. 2015-03-16 14:54:36 -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 b485b60014 Updating the version of System.Runtime.Serialization.Primitives 2015-03-16 14:02:28 -07:00
Ryan Nowak fc00aff7c5 Add TestCommon project 2015-03-16 13:49:29 -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
Kiran Challa 3d247ec028 [Fixes #2086] FilePathResult WriteFileAsync uses SendFile feature incorrectly 2015-03-16 13:05:12 -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 bd7f07052e Using [NotNull] from the common package 2015-03-14 07:25:14 -07:00
Kiran Challa f06007d428 [Fixes #2156] Remove IConfiguration from AddMvc 2015-03-14 00:02:53 -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 fb08460770 Using [NotNull] from common repo package 2015-03-13 17:54:16 -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
Suhas Joshi c260beab52 If condition to NOP 2015-03-13 15:22:34 -07:00
Praburaj 61e4f55075 Moving the IServiceCollection extension into Microsoft.Framework.DependencyInjection namespace
Fixes: https://github.com/aspnet/Routing/issues/160
2015-03-13 14:55:49 -07:00
Praburaj c4aa387cd2 Temporarily skipping a couple of tests to work around Url encoder bug
https://github.com/aspnet/HttpAbstractions/issues/231
2015-03-13 14:50:51 -07:00
Suhas Joshi d8438c9398 Removed setting int PK 2015-03-13 14:25:36 -07:00
Praburaj ca07b6e2fd Using new encoders over the old encoders. 2015-03-13 12:50:49 -07:00
Kiran Challa 9a44e3e08b [Fixes #2095] Mark IControllerFactory methods in DefaultControllerFactory as virtual 2015-03-13 12:50:29 -07:00
damianedwards 7d1c1ed8eb Enable Tag Helper initializers:
- Any Action<ITagHelper, ViewContext> can be registered in DI to allow setting of tag helper properties after any [Activate] properties are set but before their bound from the source document and the tag helper is executed
- Removed previous tag helper options as initializers is the way to do this now
- #1689
- #2162
2015-03-13 12:31:02 -07:00
Praburaj 5004bac6aa React to AddSessionServices rename to AddSession 2015-03-13 11:56:20 -07:00
Praburaj 00feaaac29 React to AddSessionServices rename to AddSession 2015-03-13 11:52:50 -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