Commit Graph

37666 Commits

Author SHA1 Message Date
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
Arthur Vickers 8bace4b197 Stop calling UseIdentity since it is the default anyway 2015-06-26 16:08:25 -07:00
Chris R 40719b37f6 #177 Enable Copy to return non-read-only. 2015-06-26 14:34:22 -07:00
Eilon Lipton 91493bf3e6 Merge pull request #47 from hishamco/docs
Fix missing docs in 'RequestCultureFeature'
2015-06-26 14:14:54 -07:00
Onat Yiğit Mercan 7a0c476503 Added 'Get Curl' to prerequisites section 2015-06-26 23:47:37 +03:00
Hisham Abdullah Bin Ateya 576d4eaf8d Fix missing docs in 'RequestCultureFeature' 2015-06-26 23:17:04 +03:00
Hao Kung 2f7accb8fe policheck fix 2015-06-26 10:17:43 -07:00
Eilon Lipton 08b70e22e6 Merge pull request #44 from hishamco/docs
Fix 'RequestLocalizationMiddleware' missing docs
2015-06-26 08:45:10 -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 24cf9998f0 React to HTTP/Security changes 2015-06-25 19:08:58 -07:00
Hisham Abdullah Bin Ateya 8f9a47358e Fix 'RequestLocalizationMiddleware' missing docs 2015-06-26 04:49:43 +03: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 32625917e3 React to EF changes 2015-06-25 16:00:53 -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
Onat Yiğit Mercan 5288a44ae4 Added prerequisites section 2015-06-25 22:54:53 +03: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
Murat Girgin 22ed0f5416 Initial commit 2015-06-25 12:21:18 -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