Commit Graph

30376 Commits

Author SHA1 Message Date
anurse 61894cb4e0 attempt 57: just don't support web socket client from dnxcore 2015-06-29 12:20:16 -07:00
Kiran Challa 761a182145 Reacting to Session, Authentication changes 2015-06-29 12:15:34 -07:00
Kiran Challa f5a880ba32 React to Session api changes 2015-06-29 12:14:22 -07:00
Hao Kung bf6e293bfe Simplify server loader logic 2015-06-29 11:39:06 -07:00
anurse cc1b0c36ac fix #26 by using RNGCryptoServiceProvider on net45 2015-06-29 10:45:04 -07:00
Hao Kung 78cf7f99ff Fix base path issue with OAuthHandler 2015-06-29 10:43:43 -07:00
Eilon Lipton 13ff3159ea Merge pull request #43 from hishamco/docs
SessionServiceCollection & SessionMiddleware docs
2015-06-27 12:04:02 -07:00
Hisham Abdullah Bin Ateya 93490c4750 SessionMiddleware docs
Fix docs for SessionMiddleware

Fix typos

Fix docs
2015-06-27 21:55:28 +03:00
Doug Bunting 4d5604690d Add or update sample `readme.md` files
- #2731
2015-06-26 21:15:18 -07:00
Kévin Chalet 102f113e2b Replace INonceCache by IDistributedCache 2015-06-27 01:08:27 +02:00
Chris R 40719b37f6 #177 Enable Copy to return non-read-only. 2015-06-26 14:34:22 -07:00
Hao Kung 6ae37717e8 Delete super dead code 2015-06-25 19:47:11 -07:00
Hao Kung 19d026268b Move Correlation stuff to OAuthHandler 2015-06-25 19:40:34 -07:00
Hao Kung 1ae4c24a5f PR fixes 2015-06-25 19:27:06 -07:00
Hao Kung 88d0efc2db React to identity/http changes 2015-06-25 19:12:30 -07:00
Hao Kung 67bd48fab2 Disable iisexpress ntlm tests for now 2015-06-25 18:14:19 -07:00
Hisham Abdullah Bin Ateya e6afe46edc SessionServiceCollection docs 2015-06-26 04:05:55 +03:00
Hao Kung 0b72d43cfa Make test happy for now 2015-06-25 18:02:35 -07:00
Hao Kung 83f7a4423f undo test fix 2015-06-25 17:56:37 -07:00
Hao Kung 96edf5ae98 Fix test to match WebListener 2015-06-25 17:41:56 -07:00
Hao Kung 981d040cc2 Fix build 2015-06-25 17:36:51 -07:00
Hao Kung 7c426f7835 React to Http/AuthNZ changes 2015-06-25 17:30:09 -07:00
Hao Kung f724fefbda React to HttpChanges 2015-06-25 17:28:07 -07:00
Hao Kung e825da0910 Fix build 2015-06-25 17:20:42 -07:00
Hao Kung 3a8ea672ea AuthN and AuthZ API changes (Async, Challenge) 2015-06-25 17:19:27 -07:00
Hao Kung 7b31e034ca React to Http changes 2015-06-25 17:10:13 -07:00
Hao Kung 086b53d21d React to OnStarting rename 2015-06-25 17:05:57 -07:00
Hao Kung 5621a2c2c7 React to HttpChanges 2015-06-25 17:04:16 -07:00
Hao Kung 5fe8037281 Auth API changes (Async, ChallengeBehavior) 2015-06-25 17:03:10 -07:00
Ajay Bhargav Baaskaran a3cbb1f378 [Fixes #2684] Removed Mvc.Common
- Removed TaskHelper and refactored with ClosedGenericMatcher
 - Removed TypeHelper
 - Moved custom encodings to InputFormatter
 - Moved ObjectToDictionary to PropertyHelper
 - Removed respective tests and test projects
2015-06-25 16:02:07 -07:00
Arthur Vickers c6b92fe16c React to EF changes 2015-06-25 16:01:25 -07:00
Arthur Vickers 15fa458362 React to EF changes 2015-06-25 16:00:00 -07:00
Ryan Nowak 9e68537649 Add Minimal sample to Mvc.sln 2015-06-25 15:57:46 -07:00
Doug Bunting 308eddc095 Quick fix: Do not check a platform-specific message 2015-06-25 15:56:21 -07:00
N. Taylor Mullen 02a3ca8abb React to aspnet/Razor#352.
- Moved initialization of TagHelperDescriptorResolver to be Lazy so DesignTimeMode can be set.
2015-06-25 15:50:19 -07:00
N. Taylor Mullen 9055da1894 Add tests to validate creation of TagHelperUsageDescriptors.
- Could not add tests to validate the full TagHelperDescriptorFactory.CreateDescriptors => TagHelperUsageDescriptors due to how the runtime loads assemblies (does it in memory without XML).
- Added serialization tests to include TagHelperUsageDescriptors.
- Updated existing tests to use new TagHelperDescriptor/TagHelperAttributeDescriptor constructors.

#352
2015-06-25 15:10:38 -07:00
N. Taylor Mullen ccf8433f27 Add TagHelper documentation resolution to TagHelperDescriptorResolver.
- Added TagHelperUseageDescriptor and associated factory for the TagHelperDescriptorFactory to utilize.
- TagHelperUseageDescriptors are only created during design time.
- CoreCLR is not supported for XML documentation resolution for now. Can revisit this later when we have better tooling integration with CoreCLR.

#352
2015-06-25 15:10:27 -07:00
Ryan Nowak 2f554c4b29 Use new antiforgery package 2015-06-25 14:45:00 -07:00
Ajay Bhargav Baaskaran e2787b3b84 [Fixes #2715] Removed formatter dependency from JsonResult and JsonViewComponentResult 2015-06-25 14:09:32 -07:00
Hisham Abdullah Bin Ateya 32ecf485b9 Add 'SessionDefaults' docs & react to PR #36 changes
Grammatical fixes
2015-06-25 23:51:15 +03:00
Ryan Nowak e13e707503 CR feedback and naming/resource cleanup 2015-06-25 13:25:52 -07:00
Ryan Nowak d2908e7b7b Tweak lifetimes for a few commonly resolved services
This is some low hanging fruit for reducing the number of resolves we have
per request.

DefaultHtmlGenerator: Lots of these are created by RazorPage. It needs
IUrlHelper, so scoped is the best we can do for now. For an example, on
the front page of our sample, 48 of these are created for each request.
48! This takes it down to 1-per-request.

JsonResult: Again, multiple created per request (12 for the sample). This
class is totally stateless, so we can get down to 0-per-request.

DefaultViewComponentInvokerFactory: Same story as JsonResult.

DefaultObjectValidator/MvcMarkerService/DefaultFilterProvider:
these are stateless and pretty much guaranteed to be used by every request.
Getting them off the table.
2015-06-25 12:52:15 -07:00
Chris R 641a7fb82b Correct exception type. 2015-06-25 12:20:53 -07:00
Hisham Abdullah Bin Ateya eb423e57d6 Using 'nameof' operator instead of magic strings
Fix back-end field issue

Fix back-end field issue
2015-06-25 12:17:17 -07:00
Ryan Nowak 08068a85be Make use of concise 'TryAdd***' overloads where possible 2015-06-25 12:08:58 -07:00
N. Taylor Mullen 361a53ba3c Remove empty line. 2015-06-25 11:39:54 -07:00
N. Taylor Mullen 0bb9457fd9 Change duplicate TagHelper bound attributes to flow to output.
- Duplicate TagHelper bound attributes used to be ignored entirely; they now flow to the output as if they were unbound.
- Added code generation test to verify duplicate attributes. Added runtime and design time versions.
- Updated existing tests that happened to have duplicate bound attributes.

#418
2015-06-25 11:11:04 -07:00
N. Taylor Mullen 039062c5eb Fix C# design time projections for complex TagHelper attributes.
- TagHelper attributes that have expressions intermingled within them (resulting in Block elements) resulted in Spans in the attribute being falsely marked as SpanKind.Markup.
- Updated tests to account for new SpanKind.Code behavior.
- Added complex scenario to validate SpanKind.Code is flowed through to surround attributes.

#387
2015-06-25 10:27:03 -07:00
Hisham Abdullah Bin Ateya bbc7393d22 Fix docs in 'SessionOptions' 2015-06-25 20:20:16 +03:00
Chris R 652d885402 #177 Immutable HeaderValue objects. 2015-06-25 09:34:14 -07:00