Martin Costello
acabbbc61b
Remove QueuePolicy locks ( #23187 )
...
* Use field rather than property
Operate on a field directly, rather than through a property.
* Make field readonly
Make field read-only as its value is never changed.
* Remove lock
Use Interlocked.Decrement() instead of taking a lock.
* Remove lock for increment
This removes the need for the lock in the success case at the cost of an extra Interlocked.Decrement() call for the failed case.
* Fix typos
Change "availible" to "available".
* Add unit test for full queue
Add a unit test that validates request is not queued if the queue is already full.
2020-06-30 05:11:58 +00:00
Hao Kung
1c27ba1bbd
Add compat switch to opt out of breaking change in AuthZ ( #23324 )
2020-06-29 21:50:27 -07:00
Kevin Pilch
197f156fcd
Obsolete the Libuv transport ( #23480 )
2020-06-29 19:36:14 -07:00
Chris Ross
e906c2067b
Quarantine Publish_HostedApp_WithSatelliteAssemblies ( #23479 )
2020-06-29 19:34:09 +00:00
Justin Kotalik
b724aa62bf
Update HttpsTests.cs ( #23406 )
2020-06-29 05:46:25 +00:00
pagan-gerbil
cc3d47f550
Fixing a type (hubConnetion -> hubConnection) ( #23440 )
2020-06-28 03:38:42 +00:00
github-actions[bot]
5a22c49ff3
Sync shared code from runtime ( #23430 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-27 08:09:39 -07:00
Brennan
646de19f1d
Update HubProtocol.md ( #23389 )
2020-06-26 21:33:29 -07:00
Pranav K
04ecd5539f
Merge pull request #23365 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-06-26 18:36:03 -07:00
Justin Kotalik
73555970ee
Quarantine dotnet-watch test ( #23395 )
...
* Quarantine dotnet-watch test
* Update ProgramTests.cs
2020-06-27 01:16:29 +00:00
Brennan
e4158e8a59
Quarantine Publish_HostedApp_VisualStudio_WithSatelliteAssemblies and Publish_UpdatesFilesWhenSourcesChange ( #23398 )
...
* Update WasmPublishIntegrationTest.cs
* Update WasmCompressionTests.cs
2020-06-26 22:42:48 +00:00
Pranav K
8e8f0b447b
Merge branch 'master' into merge/release/5.0-preview7-to-master
2020-06-26 13:07:19 -07:00
Chris Ross
eeaa85b8d0
Do not cache 304 responses ( #23367 )
...
* Do not cache 304 responses #23345
* More guids
2020-06-26 18:28:27 +00:00
Mackinnon Buck
36c6c2c2a6
ElementReference FocusAsync API ( #23316 )
...
* Added working focus extension method.
* Added return value documentation for FocusAsync().
* Removed IJSRuntime argument from FocusAsync().
* Removed ElementReference.JSRuntime in favor of IServiceProvider.
* Updated Web.JS release binaries.
* Implemented ElementReferenceContext.
* Made ElementReferenceContext a non-abstract property in Renderer.
* Made ElementReference.Context explicitly nullable.
* Removed useless IServiceProvider dependency in RemoteJSRuntime.
* Updated Microsoft.AspNetCore.Components reference assemblies.
* Improved documentation and limited public API.
2020-06-26 09:19:50 -07:00
Pranav K
65d9429a7d
Add workaround for https://github.com/mono/linker/issues/1298 ( #23368 )
2020-06-26 08:54:38 -07:00
Eric Erhardt
4891eadbbc
Remove the file extension in CreateBlazorTrimmerRootDescriptorFile ( #23330 )
...
The linker doesn't resolve assemblies correctly if the file extension (.dll) is included in the assembly name in the descriptor xml file.
See also https://github.com/mono/linker/issues/1294
2020-06-26 08:34:03 -07:00
John Luo
ef1e47d7db
Fix unquarantined test ( #23356 )
...
This test was unquarantined but needed a fix to pass on Win7
2020-06-26 07:18:30 +00:00
Justin Kotalik
4ee3644166
Skip dotnet watch tests on arm ( #23361 )
2020-06-25 20:24:34 -07:00
Justin Kotalik
d8a7cedff8
Quarantining blazor tests ( #23364 )
2020-06-25 18:11:30 -07:00
Pranav K
1f56e82732
Annotate Components.Forms \ Components.Web \ Component.Server with nullable attributes ( #23204 ) ( #23355 )
...
* Annotate Components.Forms \ Components.Web with nullable attributes
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
* Fixup
* Fixup rebase
* Undo nullable
* Fixup
2020-06-25 14:32:43 -07:00
Hao Kung
be0b9e48b5
Update System.IdentityModel.Tokens.Jwt to 6.6 ( #22846 )
...
* Update System.IdentityModel.Tokens.Jwt to 6.6
* Update Versions.props
* Add newtonsoft refs
* Update OIDC instructions
* Fixup JwtBearerSample TFM
Co-authored-by: John Luo <johluo@microsoft.com>
2020-06-25 14:25:59 -07:00
Stephen Halter
71af57fdc0
Remove ConcurrentDictionary in HandshakeProtocol ( #23315 )
2020-06-25 12:31:38 -07:00
Justin Kotalik
10baccefb4
Merge pull request #23321 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-06-25 10:41:33 -07:00
Pranav K
c42d1a3858
Annotate Components.Forms \ Components.Web \ Component.Server with nullable attributes ( #23204 )
...
* Annotate Components.Forms \ Components.Web with nullable attributes
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
* Fixup
* Fixup rebase
* Undo nullable
* Fixup
2020-06-25 17:36:24 +00:00
Pranav K
a93ff60904
SDK fixes ( #23317 )
...
* Fix up Blazor ILLink Descriptor files
1. Add the typegranularity file to TrimmerRootDescriptor.
2. Remove the application assembly descriptor file, since the application assembly is passed in as a RootAssembly already.
* Razor SDK fixups for blazor
* Only include dlls when generating type granular assemblies
* Write server-worker to the obj directory
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
2020-06-25 08:52:53 -07:00
Pranav K
55b5f959ce
Move RenderRegistryTest ( #23327 )
2020-06-25 14:23:01 +00:00
Steve Sanderson
1998a06bdc
Blazor grid performance scenarios ( #23301 )
...
* Add complex table benchmark
* Add FastGrid scenario too
* Make the two grids consistent with each other
* Add scenario for PlainTable
* Empty commit to trigger re-rerun on CI. Clicking retry doesn't seem to be working.
2020-06-25 09:32:09 +01:00
Brennan
38f9b9abdb
[SignalR] Fix new flaky test ( #23326 )
2020-06-24 17:53:30 -07:00
Pranav K
ac291877c7
Remove WebAssemblyHttpHandler ref-assembly package ( #23245 )
...
* Remove WebAssemblyHttpHandler ref-assembly package
Fixes https://github.com/dotnet/aspnetcore/issues/22283
* Fixup
2020-06-24 23:58:18 +00:00
Martin Costello
c19f3d29ca
Only look-up Cache-Control once ( #23329 )
...
Only look-up the Cache-Control header once, rather than twice if non-empty.
2020-06-24 22:48:36 +00:00
William Godbe
cd9da1c350
Fixup kestrel config tests after feedback ( #23308 )
2020-06-24 12:59:33 -07:00
Brennan
dad1ca68d7
Make RequestServices work for cloned longpolling HttpContext ( #23014 )
2020-06-24 12:29:11 -07:00
Safia Abdalla
4465a8efc8
Disconnect circuit on `beforeunload` event ( #23224 )
2020-06-24 11:35:28 -07:00
Martin Costello
5155e11120
Two minor perf tweaks in CORS and Localization middleware ( #23190 )
...
* Use char instead of char[] for string.Split
Use the newer overload for string.Split() that accepts a char instead of creating a char array.
* Remove redundant bounds check
Remove redundant bounds check for count of exactly 1 as that has already been checked to be true by the previous check.
2020-06-24 07:17:33 -07:00
William Godbe
e34469482c
Make Kestrel config case-insensitive for certificates ( #23268 )
...
* Make Kestrel config case-insensitive for certificates
* Move tests to ConfigurationReaderTests
2020-06-24 06:40:38 +00:00
Brennan
cc15b1bb43
[SignalR] Implement IConnectionLifetimeFeature ( #20604 )
2020-06-23 22:14:12 -07:00
Pranav K
30472b113e
Merge branch 'master' into merge/release/5.0-preview7-to-master
2020-06-23 20:38:38 -07:00
Pranav K
f6a6e4bd07
Replat blazor on net5 ( #23078 )
...
* Replat blazor on net5
* Make all e2e tests pass
* Fixup
* Update js files
* Fixups
* Fixup
* Fixup
* Skip globalization tests
* Undo workarounds
* PR feedback
* Update dependencies from https://github.com/dotnet/runtime build 20200622.6
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging.Configuration , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Logging.EventLog , Microsoft.Extensions.Logging.EventSource , Microsoft.Extensions.Logging.TraceSource , Microsoft.Extensions.Options , Microsoft.Extensions.Options.ConfigurationExtensions , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Http , Microsoft.Extensions.Caching.Abstractions , Microsoft.Extensions.Caching.Memory , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Binder , Microsoft.Extensions.Configuration.CommandLine , Microsoft.Extensions.Configuration.EnvironmentVariables , Microsoft.Extensions.Configuration.FileExtensions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileProviders.Composite , Microsoft.Extensions.FileProviders.Physical , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.HostFactoryResolver.Sources , Microsoft.Extensions.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Configuration.Xml , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Drawing.Common , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.Security.Principal.Windows , System.Security.Permissions , System.Security.Cryptography.Xml , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs
From Version 5.0.0-preview.7.20321.2 -> To Version 5.0.0-preview.7.20322.6
* Update js file
* Fix version
* Fixup
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-23 18:19:55 -07:00
Stephan Troyer
7aa91ffd62
SpaProxy: Fix proxying of WebSocket protocol ( #23250 )
2020-06-23 16:20:00 -07:00
Pranav K
f5709b4080
Add nullable annotations to Microsoft.AspNetCore.Mvc.Abstractions ( #22993 )
...
* Add nullable annotations to Microsoft.AspNetCore.Mvc.Abstractions
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
* Changes per PR comments
* Changes per PR comments
* Fixup
2020-06-23 22:56:25 +00:00
Brennan
a1c226e4f3
[SignalR] Move to generic host ( #22602 )
2020-06-23 10:46:03 -07:00
Pranav K
baf7e6c4d6
Add support for optional FromBody parameters ( #22634 ) ( #23246 )
...
* Add support for optional FromBody parameters (#22634 )
* Add support for optional FromBody parameters
Fixes https://github.com/dotnet/aspnetcore/issues/6878
* Fixup nullable
* Changes per API review
* Fixup doc comment (#23229 )
2020-06-23 08:06:14 -07:00
Brennan
6a4d79cfb8
Fix java pack on local builds ( #23237 )
2020-06-22 20:21:13 -07:00
Tanay Parikh
26cc3b43a2
Unquarantine Tests ( #23098 )
...
Found a bunch of tests running for 30+ days with 100% pass rate.
2020-06-22 17:54:52 -07:00
Ivan Zub
93e9e1f9e1
Fix urls of @microsoft/dotnet-js-interop package ( #23239 )
2020-06-22 16:42:21 -07:00
Filip Staffa
94941438d3
Add TagBuilder copy constructor ( #10955 ) ( #22729 )
...
Co-authored-by: Filip Staffa <git@filipstaffa.net>
2020-06-22 15:43:25 -07:00
Pranav K
827751ffe1
Fixup doc comment ( #23229 )
2020-06-22 15:39:39 -07:00
James Newton-King
ce80965454
HPackDecoder performance ( #23083 )
2020-06-23 09:20:06 +12:00
ccvca
efeb8508dc
Fix: 'https://' is also supported as scheme. ( #23194 )
2020-06-22 13:26:30 -07:00
Pranav K
f7d2fac8a2
Add support for optional FromBody parameters ( #22634 )
...
* Add support for optional FromBody parameters
Fixes https://github.com/dotnet/aspnetcore/issues/6878
* Fixup nullable
* Changes per API review
2020-06-22 19:11:55 +00:00