Commit Graph

43954 Commits

Author SHA1 Message Date
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
Ajay Bhargav Baaskaran f2f0bed885 Support [Parameter] attribute on base class of overridden properties (dotnet/aspnetcore-tooling#835)
* Support [Parameter] attribute on base class of overridden properties

* Fix test
\n\nCommit migrated from c228339bb3
2019-07-16 13:11:15 -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