Commit Graph

44812 Commits

Author SHA1 Message Date
Doug Bunting b84132638f
Merge branch 'release/2.2' => 'master' (#12267) 2019-07-18 08:58:25 -07:00
N. Taylor Mullen 519ec839af Extract Analyzer and Authorization package version and use it in Components nuspec.
#8825
2019-07-18 06:48:33 -07:00
N. Taylor Mullen 84dce20789 Add reference to Microsoft.AspNetCore.Components.Analyzers.
#8825
2019-07-18 06:48:33 -07:00
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
Chris Ross d208b24e4f
Update IdentityModel to 5.5.0 (#12200) 2019-07-17 17:39:09 -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
Doug Bunting aaa9305362
Merge branch 'release/2.2' into 'master' 2019-07-17 14:47:47 -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 35daeda2bf React to ElementReference change
\n\nCommit migrated from 2f35d24cb8
2019-07-17 13:48:43 -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
Pranav K 8757c7da16 More test
\n\nCommit migrated from 0e750a6764
2019-07-17 11:16:15 -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
Pranav K 9b05f240ae Fixup desktop tests again
\n\nCommit migrated from bd5a57c0e8
2019-07-17 09:20:43 -07:00
Pranav K de8aa5bffa Desktop tests
\n\nCommit migrated from 6f5da448ef
2019-07-17 09:20:43 -07:00
Pranav K 4eb4cef18c Limit PreserveCompilationReferences to netcoreapp (<2.x)and net4x projects
\n\nCommit migrated from b9c695c2d5
2019-07-17 09:20:43 -07:00
Pranav K 8dcf4b37f5 Ensure compilation references are copied during build for netcoreapp2.x targeting projects
Fixes https://github.com/aspnet/AspNetCore/issues/12048
\n\nCommit migrated from f17a62c044
2019-07-17 09:20:43 -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
Javier Calvarro Nelson b4bcb1fd15 [JSInterop] Updates the JSInterop abstractions to better support logging and diagnostics. (dotnet/extensions#2043)
* Add an overload to handle .NET completion calls without going through JS interop.
* Add endInvokeHook on the client-side.
* Replace OnDotNetInvocationException with EndInvokeDotNet.\n\nCommit migrated from 4312b9a050
2019-07-17 17:12:37 +02:00
Andrew Stanton-Nurse f56cb72b7f
Crankier: off by one error (#12274)
Crankier: off by one error
2019-07-17 07:50:40 -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
N. Taylor Mullen d62381d659 Update test projects to use latest Roslyn.
- This is a temporary workaround until we're able to get on the latest SDK which includes the latest Roslyn bits. Without them we can't properly publish testapps in a standalone fashion without investing in temporary infrastructure.
\n\nCommit migrated from 21fcd9c2f5
2019-07-16 22:15:59 -07:00
N. Taylor Mullen b724885f38 React to Roslyn rename of `NullableContextOptions` to `Nullable`.
- Verified the fix with VS16.2-preview2 + latest CLI with modified `Nullable` entry on disk
- Updated tests.
- Note: This change will not pass the build until we have a new CLI that has an updated Roslyn that understands `Nullable`.

aspnet/AspNetCoredotnet/aspnetcore-tooling#10218
\n\nCommit migrated from fee9c35bee
2019-07-16 22:15:59 -07:00
Stephen Halter fb12909417
Don't invoke continuations inline in OnCompleted (#12261) 2019-07-16 22:14:16 -07:00
Doug Bunting b4a678079d
Add missing ArchiveBaseline files
- missing from 4fd1d01467 (branding update)
2019-07-16 20:58:00 -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
Doug Bunting e8236a5365 Remove supposed optimization of local builds
- minor issue uncovered while investigating #7073
- sourcelink speed has significantly improved lately
- removing this enables local builds that are a closer match to CI configuration
2019-07-16 16:53:52 -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 Nowak fde8f98d7e Reactions to API review changes + Globalisation support (dotnet/aspnetcore-tooling#829)
* Update ref assembly APIs

There are some impactful changes here for the compiler that are part of the API review.

The next few commits will implement all of the required changes.

* React to API review + globalization changes

* Updates to generated baselines

* Add missed file

* Update src/Razor/src/Microsoft.CodeAnalysis.Razor/EventHandlerTagHelperDescriptorProvider.cs

Co-Authored-By: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>

* more baseline updates
\n\nCommit migrated from d955be5013
2019-07-16 14:55:06 -07:00
Andrew Stanton-Nurse 4c0a9d9a6b update version of SqlClient used by sql cache (dotnet/extensions#2006)
\n\nCommit migrated from b1ff0d9dc8
2019-07-16 14:42:37 -07: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