Commit Graph

39960 Commits

Author SHA1 Message Date
Ryan Nowak 7aeb228063 Redesign tag helper codegen 2017-06-30 17:34:01 -07:00
N. Taylor Mullen 2a6f0e4dc9 Productionize the csharp rendering context APIs.
- Rename `CSharpRenderingContext` => `CodeRenderingContext`.
- Rename `CSharpCodeWriter` => `CodeWriter`
- Rename `BasicWriter` => `IntermediateNodeWriter`
- Rename `...BasicWriter` => `...NodeWriter`
- Made `CodeRenderingContext` a public abstract API. Left temporary TagHelper pieces in the class since these will be removed soon.
- Moved several `CodeRenderingContext` methods into extension methods. These make use of the Items collection.
- Moved the reporting of missing code target extensions into the `ExtensionIntermediateNode`. This is the integration point of `CodeTarget`s and `CodeRenderingContext`s; therefore, it made more sense existing there.
- Left SetRenderChildren/SetRenderNode as extension methods due to how they're wired up. Aka, to create a `CodeTarget` you need a `CodeRenderingContext`... To Create a `DocumentWriter` you need a `CodeTarget`... To set the render methods on the context you need a `DocumentWriter`.
- Updated tests to utilize the new code renering constructs.
- Moved code generation testability features from `CSharpLoweringPhase` to the `CodeRenderingContext.Items`.

#1043
2017-06-30 16:35:53 -07:00
John Luo 7162fe2371 Clarify installer error message 2017-06-30 16:35:42 -07:00
Pranav K 7c5a16c105 Add RemoveType methods of PageConventionCollection 2017-06-30 16:27:51 -07:00
Paul Kim bce7d84906 Fix cart count when the same album is added to the cart multiple times (#765) 2017-06-30 16:18:10 -07:00
Pranav K bc4328de16 Add entry to breakingchanges.json 2017-06-30 15:44:21 -07:00
Henk Mollema 948982ebff Create custom collection for model binder providers
Fixes #6161
2017-06-30 15:44:07 -07:00
Nate McMaster 661f6d5103 Revert "React to change in session API"
This reverts commit 04d0fdd652.
2017-06-30 15:27:10 -07:00
Nate McMaster 04d0fdd652 React to change in session API 2017-06-30 15:25:28 -07:00
Nate McMaster 873a2fe17f React to changes in Antiforgery API 2017-06-30 15:20:44 -07:00
Nate McMaster df41fd8ccc Replace the ConfigureCookieOptions action property with the CookieBuilder 2017-06-30 15:18:40 -07:00
Pranav K edfe5399c3 Add some details about view compilation options (#156)
* Add some details about view compilation options
2017-06-30 15:18:09 -07:00
Pranav K b625ffcad6 Remove SimpleAppDesktopOnly 2017-06-30 15:14:26 -07:00
Pranav K d801bdc271 Reacting to https://github.com/aspnet/Mvc/issues/6462 2017-06-30 15:00:39 -07:00
Cesar Blum Silveira 81c2b57dda Increase default request min rate to 240 bytes/second (#1929). 2017-06-30 14:58:44 -07:00
Ryan Brandenburg 5f37723e8d Remove AssetTargetFallback 2017-06-30 14:42:27 -07:00
Ryan Brandenburg f5c55727a4 Remove AssetTargetFallback 2017-06-30 14:42:00 -07:00
Pranav K bc86ea4e47 Move convention extensions from RazorPagesOptions to PageConventionCollectionsExtensions
Fixes #6462
2017-06-30 14:25:10 -07:00
Ajay Bhargav Baaskaran 9c031e6fb5 Moved all TagHelperDescriptor related builders to have getter setter
instead of methods

More polish to the tag helper descriptor builders.
- Expose underlying builders as getter only list
- Added AsDictionary() extension method to BoundAttributeDescriptorBuilder
- Expose diagnostics as RazorDiagnosticCollection
- Got rid of Require** prefix in TagMatchingRuleBuilder
- Workaround issue aspnet/Razor#1492 by copying the test descriptor
  extensions
2017-06-30 14:08:05 -07:00
Ryan Brandenburg 8e7dafad96 Remove AssetTargetFallback 2017-06-30 13:11:13 -07:00
Cesar Blum Silveira 68ba9a9445 Avoid torn reads from _frame.MinReadBodyDataRate in FrameConnection.Tick(). 2017-06-30 12:22:31 -07:00
Ryan Brandenburg b61244dac9 Remove AssetTargetFallback 2017-06-30 12:18:59 -07:00
Mike Harder 660b7df0e2 Upgrade Roslyn to 2.3.0-beta3-* 2017-06-30 12:17:58 -07:00
Nate McMaster 6d858dfeb2 Make CookieBuilder.Build(HttpContext) non-virtual 2017-06-30 12:13:31 -07:00
Pranav K 4db7f2eb6d Update to Roslyn 2.3.0-beta3 version 2017-06-30 11:35:59 -07:00
Doug Bunting f76a390a4e Fall back to linear search for prefix matches
- #6469
2017-06-30 10:59:07 -07:00
Ajay Bhargav Baaskaran 34e3c249e4 Remove Test.Common dependency from LanguageServices.Razor.Test 2017-06-30 10:42:24 -07:00
Nate McMaster dece939aab Add CookieBuilder property to SessionOptions and obsolete duplicated properties 2017-06-30 10:02:53 -07:00
Nate McMaster 199b0fa212 Require CookieBuilder.Name to be a not null or empty 2017-06-30 09:20:13 -07:00
David Fowler 53e09f8cc3 Fix flaky test (#622)
- Remove timeout and closed the application when the transport closes.
Made some tweaks to TestWebSocketConnectionFeature as a result.
- This uncovered some interesting issues with the WebSocketTransport itself so
further refactoring is needed to make it a bit more solid.
2017-06-30 02:30:09 -07:00
Ryan Brandenburg 76928bcbaa Remove AssetTargetFramework 2017-06-30 10:24:48 +01:00
Hao Kung 082c4fa5c6 React to auth changes 2017-06-29 18:35:35 -07:00
Mike Harder 24d4694ec5 React to Authentication changes (#1295)
* 271faf11bb
* ff9f145a8e
2017-06-29 17:53:20 -07:00
Cesar Blum Silveira f2061ed716 Rename request body min rate APIs (#1901). 2017-06-29 17:16:34 -07:00
John Luo eb1f72c369 Installer generation updates 2017-06-29 16:52:49 -07:00
John Luo 64ed5bb4ff Use new SelfContained property 2017-06-29 16:50:34 -07:00
Ajay Bhargav Baaskaran 7c7bb627b9 Moved typename and propertyname to extension methods 2017-06-29 16:47:53 -07:00
Hao Kung eb3ff7fc32 Move IdentityOptions namespace 2017-06-29 16:34:25 -07:00
Hao Kung 87883602fc React to HttpAbstractions 2017-06-29 16:32:05 -07:00
Hao Kung d125a14a39 React to HttpAbstractions 2017-06-29 16:30:38 -07:00
Hao Kung 824051cb28 React to auth 2017-06-29 16:29:00 -07:00
Kiran Challa 2c8e1fdc15 Updated runtime store tests to use the restored Build.RS package instead of downloading it explicitly 2017-06-29 16:27:51 -07:00
Hao Kung 2e2cbccbdd Fix tests 2017-06-29 16:27:46 -07:00
Hao Kung 779cfd265a React to HttpAbstractions 2017-06-29 16:27:46 -07:00
Hao Kung ff9f145a8e Refactor Events + Add IAuthenticationBuilder 2017-06-29 16:27:03 -07:00
Hao Kung 271faf11bb Refactor IAuthenticationHandler/Result 2017-06-29 16:25:24 -07:00
Nate McMaster f9e0439ef1 Add CookieBuilder 2017-06-29 15:55:01 -07:00
Doug Bunting 293ac81fe1 Use ordinal comparisons in `ExpressionTextCache`
- #6349
- C# field and property names are case-sensitive
  - it's not important (where this cache is used) that HTML field names are case-insenstive
2017-06-29 14:59:06 -07:00
Pranav K d7533529f9 Fix restore warnings for Microsoft.NETCore.App 2017-06-29 13:34:43 -07:00
Jass Bagga 17f6b17a6d Add RequestSizeLimitAttribute (#6453)
Addresses #6352
2017-06-29 13:04:27 -07:00