Commit Graph

39289 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 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
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
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 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
Doug Bunting e0f5adc2cb
Merge branch 'release/3.0-preview7' => 'master' (#12214) 2019-07-16 12:00:49 -07:00
Doug Bunting a4649e66ba
Merge branch 'release/2.1' => 'release/2.2' (#12104) 2019-07-16 11:58:54 -07:00
dotnet-maestro[bot] 37ef7c2f21 [master] Update dependencies from 3 repositories (#12198)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190715.2
- Microsoft.NET.Sdk.Razor - 3.0.0-preview8.19365.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview8.19365.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview8.19365.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview8.19365.2

* Update dependencies from https://github.com/dotnet/arcade build 20190715.4
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19365.4
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19365.4
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19365.4

* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190715.5
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview8.19365.5
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview8.19365.5
- dotnet-ef - 3.0.0-preview8.19365.5
- Microsoft.EntityFrameworkCore - 3.0.0-preview8.19365.5
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview8.19365.5
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview8.19365.5
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview8.19365.5
2019-07-16 11:40:12 -07: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