Commit Graph

17413 Commits

Author SHA1 Message Date
David Fowler 7966f259ea
Dispatch connection execution (#12265)
- Dispatch connection initialization to the thread pool to avoid executing the first read on the IO thread (longer explanation in the bug).
2019-07-18 06:36:08 -07:00
Ryan Nowak 8ce68d04c1 Rename Configure -> Attach
Part of: #11610
2019-07-17 20:36:23 -07:00
John Luo f7ba8f1002
Use Arcade for resx generation (#12179) 2019-07-17 18:31:50 -07:00
Pranav K 4062c8c41f
Use a JsonConverter with ElementReference (#12244)
* Use a JsonConverter with ElementReference
2019-07-17 17:42:45 -07:00
Mikael Mengistu 7d08882031
Clear internal stream map on connection/stream close. (#12212) 2019-07-17 17:32:31 -07:00
Brennan c8b6bb3f41
Update SignalR Endpoint pattern usage (#12282) 2019-07-17 16:54:31 -07:00
Justin Kotalik 7bed5df4d0
Use a single lock for writing to ConcurrentPipeWriter (#12285) 2019-07-17 15:46:34 -07:00
Pranav K 919bd7db06
Disallow random properties 2019-07-17 15:34:47 -07:00
N. Taylor Mullen cae31a55f9 Add analyzer to warn for invalid Component parameter usage.
- The newly added analyzer warns users if they try to assign another components parameter.It does sanity checks to ensure that
  1. The property reference is indeed a component parameter
  2. The property reference is from a component
  3. The assignment is outside of the parameters type hierarchy. Aka, we don't warn users for setting a components parameter if it's in the same class.

- Updated existing `ComponentsFacts` to add additional utility methods to properly interact with components.
- Added tests to ensure we're analyzing all the goods properly.

#8825
2019-07-17 14:49:44 -07:00
N. Taylor Mullen 47eb53492c Update sample applications to use public [Parameter]s.
- Updated all `[Parameter]` references in .cs, .razor and .cshtml files to be `public`.

#8825
2019-07-17 14:32:40 -07:00
Ryan Nowak fedf03bd47 Move endpoint convention builder 2019-07-17 11:32:01 -07:00
Ryan Nowak e23bc822cf Make RemoteUriHelper internal 2019-07-17 11:32:01 -07:00
Ryan Nowak 5b59c687eb Remove unused types 2019-07-17 11:32:01 -07:00
Pranav K 74451ed348
Skip test 2019-07-17 11:25:06 -07:00
Doug Bunting b39e9b0a75
Merge 'release/2.2' to 'master' (#12252) 2019-07-17 10:31:18 -07:00
Pranav K 6f05f83a97
Use a JsonConverter with ElementRef 2019-07-17 09:58:07 -07:00
Chris Ross 4f638f8e11
Cleanup ClientCancellationAbortsRequest Internal/2771 (#12248) 2019-07-17 09:19:31 -07:00
Ryan Nowak 45d3e69073 Prepare to rename ElementRef
Part of: #11610

This change just renames the type, because it's used in the compiler.
We will need to react in the compiler, and then update all of the usage
here.
2019-07-17 08:41:57 -07:00
Stafford Williams 49dab32afa
Crankier: off by one error 2019-07-17 22:01:39 +10:00
Steve Sanderson f4f5b16e93
Ensure schemes aren't used on components authorization. Fixes #10570 (#12239) 2019-07-17 09:33:51 +01:00
Stephen Halter 96f55fcf25
Wrap the PipeWriter used by Kestrel's output writing logic (#12081) 2019-07-16 23:06:24 -07:00
Stephen Halter fb12909417
Don't invoke continuations inline in OnCompleted (#12261) 2019-07-16 22:14:16 -07:00
Ryan Nowak 4ba66f05bf
Fix nullable detection (#12202)
* Fix nullable detection

Fixes: #11828 and #11813
2019-07-16 19:58:30 -07:00
Justin Kotalik 892ea7e574
Add Http2 Kestrel stress runs (#12131) 2019-07-16 17:46:32 -07:00
Pranav K 6c80c42511
Use ArrayPool in ArrayBuilder<T> (#11830)
* Use ArrayPool
2019-07-16 16:23:02 -07:00
Scott Addie d668e77e9e Add semicolon to gRPC service definition for consistency (#12241) 2019-07-17 10:54:28 +12:00
Ryan Brandenburg cf3c2ba02b
Merge pull request #12139 from isaac2004/11243-worrk
Added Error page to ServerSide Blazor (#11243)
2019-07-16 14:34:33 -07:00
Alex Perovich cc00df7321 Fix blazor project file
This project is not valid xml and causing https://source.dot.net builds to fail.
2019-07-16 13:54:48 -07:00
Pranav K 9f82b7be75
Cache the result of ComponentResolver (#11810)
* Add caching to ComponentFactory and ComponentResolver
2019-07-16 13:38:08 -07:00
Justin Kotalik 71d39e59d6
Copy ANCM into a separate folder to avoid copy races (#12103) 2019-07-16 13:34:06 -07:00
Pranav K 79823c7b9a
Update MessagePack-CSharp (#12246)
Fixes https://github.com/aspnet/AspNetCore/issues/11664
2019-07-16 13:23:56 -07:00
Doug Bunting e9acab1d36
Merge branch 'release/2.2' into 'master' 2019-07-16 12:18:36 -07:00
Isaac Levin 6de392c81d
updated baselines 2019-07-16 15:05:16 -04:00
Steve Sanderson 6328236187 Update ref assembly 2019-07-16 17:02:43 +01:00
Steve Sanderson d5a64fb411 Remove support for loose keys 2019-07-16 17:02:43 +01:00
Steve Sanderson 5141ee930e For @key, support both strict (default) and loose modes 2019-07-16 17:02:43 +01:00
Steve Sanderson 20115f3c84 Shrink FrameType to be an Int16, as Int32 is completely unnecessary, and that memory space is about to become useful 2019-07-16 17:02:43 +01:00
Isaac Levin 7b4c073fc6 added baseline 2019-07-16 11:52:06 -04:00
David Fowler ba15186bbe
Avoid double allocating the HttpConnectionContext (#12225) 2019-07-16 07:58:11 -07:00
Justin Kotalik 7f2a97a603
Revert the input pipe in the DuplexStreamPipeAdapter (#12204) 2019-07-16 07:44:37 -07:00
Ryan Nowak 496249fee9 Fix bug in CircuitManager
This bug was introduced by removing the parsing from
8fa4df9bda but not updating the tests. We
expect component and rendererId to always be numbers (not strings).

It looks like these tests are not currently running on the CI which was
how we were able to find the issue.
2019-07-15 21:46:57 -07:00
Doug Bunting 2d335f3647
List all SPA project template names 2019-07-15 18:22:29 -07:00
Pranav K 94edcbf65b
Avoid throwing if serializer settings is null (#12207)
Also adds some docs that suggest what needs to be passed as an argument instance
2019-07-15 17:48:26 -07:00
Dylan Dmitri Gray 7b56439ca1
Dylan/polishing (#12163)
* fixed slnf path, fixed options comment, renames

* cleaned up sample
2019-07-15 15:28:51 -07:00
Mikael Mengistu a784f4575b
Updating logging on transport failure (#12026) 2019-07-15 13:20:35 -07:00
Ben Adams 09722d1ce5 MVC use concrete types for DiagnosticListener (#11730)
* MVC use concrete types for DiagnosticListener

* Use DiagnosticListener not DiagnosticSource

* Implement interface explicitly

* Code check

* Feedback

* Feedback

* IReadOnlyDictionary

* Remove InstrumentationContext

* DiagnosticSource in RazorPageActivator

* Code check

* Feedback
2019-07-15 12:38:46 -07:00
Mikael Mengistu 8b9503ee9e
Acquire HubConnectionStateLock before Send/Invoke/Stream (#12078) 2019-07-15 11:31:37 -07:00
Artak 4c07e1e6ad
Updated dependencies (#12177)
* Updated dependencies

* pull lodash up directly
2019-07-15 11:21:11 -07:00
TeBeCo 25db4331cf using System.Text.Json for SignalRSamples as JsonTextWriter is a "synchronous IDisposable" ending end throwing when calling /deployment with AllowSynchronousIO turned off (#12165)
Thanks for finding and fixing this :)
2019-07-15 11:20:18 -07:00
Hao Kung 8f4214c8c0
UrlEncode/Decode email/password codes by default (#12109) 2019-07-15 11:17:52 -07:00