Commit Graph

44541 Commits

Author SHA1 Message Date
dotnet-maestro[bot] 9b5999f340
Update dependencies from https://github.com/dotnet/efcore build 20200820.2 (#25085)
[release/5.0] Update dependencies from dotnet/efcore
- Updates:
  - Microsoft.EntityFrameworkCore.Tools: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - Microsoft.EntityFrameworkCore.SqlServer: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - dotnet-ef: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - Microsoft.EntityFrameworkCore: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - Microsoft.EntityFrameworkCore.Design: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - Microsoft.EntityFrameworkCore.Relational: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - Microsoft.EntityFrameworkCore.Sqlite: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
  - Microsoft.EntityFrameworkCore.InMemory: from 5.0.0-rc.1.20419.15 to 5.0.0-rc.1.20420.2
2020-08-20 21:28:58 +00:00
Juan Barahona 601fc20ece
Add enhancement to default behavior of client reconnection (#24992)
These changes are to improve the default reconnection behavior of the client

- [x] Match the reconnection time with server side
- [x] Add indicator to know at which reconnection attempt we currently are
- [x] [Additional] Add a loader symbol
- [x] Add client side test

Addresses #18745
2020-08-20 14:12:04 -07:00
Brennan c181218a4e
Run 1 browser at a time in SignalR javascript functional tests (#25083) 2020-08-20 13:16:23 -07:00
James Newton-King 920d93590d
Remove HTTP/2 headers from request primary headers (#24900) 2020-08-21 07:39:40 +12:00
William Godbe 8522ba8e55
Add MessagePack support for Java SignalR Client (#23532)
* Implement ParseMessages for java messagePack client

* Fix some spacing & syntax

* Implement write

* Tab -> Spaces

* MessagePacker -> MessageBufferPacker

* Tabs -> Spaces

* Tabs -> Spaces

* InvocationMessage may not include streamIDs

* Only 1 ctor per message type

* Fixup HubConnection.java

* Change return type of parseMessages to List

* Fix HubConnection

* Check for primitive value before returning

* Implement length header prefix

* Minor fixes

* Use ByteBuffer to read length header

* Add case for Char

* Close unpacker

* Typo

* Override onMessage w/ ByteString

* Change OKHttpWebSocketWrapper

* Account for nil InvocationId

* Change interface & MessagePack impl

* Update JsonHubProtocol

* Use ByteBuffer

* Fixup HubConnection

* Fixup more stuff

* Convert more stuff to ByteBuffer

* Account for ReadOnly

* Spacing

* No need to reset ByteBuffer when setting position

* Add Protocol to HubConnection ctor

* Set default, make stuff public

* Fixup tests

* More test cleanup

* Spacing

* only grab remaining buffer bytes in json

* Last test fixes

* Get rid of some unused imports

* First round of msgpack tests

* Flip condition

* Respond to feedback

* Spacing

* More tests

* Add test for primitives

* Add more tests, start using msgpack-jackson

* Fix build.gradle

* Remove debug prints

* Start using Type instead of Class

* Add overloads for Type, make messagePack readValue() more efficient

* Apply feedback, add some tests

* Add some tests, fix some tests

* Fix tests for real

* Add a whole buncha tests

* Add TestUtils change that I didn't commit yesterday

* Respond to some feedback

* Add a couple Json tests

* Apply more feedback

* Move readonly fix to msgpack

* Minor optimization

* Fixup some javadocs

* Respond to feedback

* Remove TypeReference, make Protocols private again

* Feedback
2020-08-20 12:12:41 -07:00
dotnet-maestro[bot] 901ae06bb8
Update dependencies from https://github.com/dotnet/efcore build 20200819.15 (#25065)
[release/5.0] Update dependencies from dotnet/efcore
- Updates:
  - Microsoft.EntityFrameworkCore.Tools: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - Microsoft.EntityFrameworkCore.SqlServer: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - dotnet-ef: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - Microsoft.EntityFrameworkCore: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - Microsoft.EntityFrameworkCore.Design: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - Microsoft.EntityFrameworkCore.Relational: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - Microsoft.EntityFrameworkCore.Sqlite: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
  - Microsoft.EntityFrameworkCore.InMemory: from 5.0.0-rc.1.20419.12 to 5.0.0-rc.1.20419.15
2020-08-20 18:47:50 +00:00
Pranav K 4f64c65325
Add a regression test for web.config transform (#25056)
This was resolved as part of moving to the WebAssembly SDK.
A test that would have helped us catch this sooner. This change addresses the test gap.

Resolves https://github.com/dotnet/aspnetcore/issues/24568
2020-08-20 10:14:53 -07:00
Javier Calvarro Nelson 3c34c3ab0d
[Https] Various improvements to the dev-certs tool (#25037)
* Add support for the trust option on Linux on the command-line tool and print a message when it's used pointing to docs.
* Bump the certificate version to 2 to ensure that the certificate gets updated for 5.0 on Mac OS.
* Ensure we always select the certificate with the highest available version to ensure that when we change the certificate in the future older runtimes pick up the new certificate.
* Support exporting the certificate without key on PEM format.
2020-08-20 09:55:56 -07:00
James Newton-King 818279f1f5
Add HealthChecks to solution and enable nullable in tests (#25059) 2020-08-20 15:04:44 +00:00
John Luo 4c381e83d2
Throw original exception if exception handler is not found (#25062)
* Throw original exception if exception handler is not found
2020-08-20 02:45:07 -07:00
dotnet-maestro[bot] 9a8a1d4903
[release/5.0] Update dependencies from dotnet/arcade dotnet/efcore (#25049)
[release/5.0] Update dependencies from dotnet/arcade dotnet/efcore
- Updates:
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20411.8 to 5.0.0-beta.20417.6
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20411.8 to 5.0.0-beta.20417.6

- Updates:
  - Microsoft.EntityFrameworkCore.Tools: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - Microsoft.EntityFrameworkCore.SqlServer: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - dotnet-ef: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - Microsoft.EntityFrameworkCore: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - Microsoft.EntityFrameworkCore.Design: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - Microsoft.EntityFrameworkCore.Relational: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - Microsoft.EntityFrameworkCore.Sqlite: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
  - Microsoft.EntityFrameworkCore.InMemory: from 5.0.0-rc.1.20419.5 to 5.0.0-rc.1.20419.12
2020-08-20 02:00:33 +00:00
Safia Abdalla 8fc1419186
Make OnNavigateAsync EventCallback and cancel previous navigation (#25011)
* Make OnNavigateAsync EventCallback and cancel previous navigation

* Add more tests
2020-08-19 18:25:24 -07:00
Brennan 5193f8f428
Quarantine a couple kestrel flaky tests (#25047) 2020-08-19 16:00:18 -07:00
Brennan 85bde1da5e
Parallel hub invocations (#23535) 2020-08-19 14:58:24 -07:00
Brennan df04381411
Quarantine flaky Razor Integration tests (#25043) 2020-08-19 14:34:12 -07:00
Justin Kotalik 9f398d9a56
Fix Http/3 and mark multiplexed factory as experimental (#25012)
* Fix Http/3 and mark multiplexed factory as experimental

* mark apis as internal and delete quic samples

* Remove extra public api

* Mark kestrel server as obsolete

* Fixing obsoletion and improved message

* Revert "Fixing obsoletion and improved message"

This reverts commit acdae8713d467264b4b3762b56fb4b882fa9127d.

* Revert "Mark kestrel server as obsolete"

This reverts commit fbd861f53afe93951b1f9cd004859551e085952d.

* Internalize SocketCOnnectionFactory

* nit

* fixup
2020-08-19 14:27:25 -07:00
Javier Calvarro Nelson 1cd7e15fb2
[Spa] Make node Services non-shipping (#24912)
As per the announcement on https://github.com/dotnet/aspnetcore/issues/12890, avoid shipping this package in 5.0.
2020-08-19 13:27:29 -07:00
Brennan 08bd3d7d5a
Fix #24846 by using ConditionalFact (#25041) 2020-08-19 12:31:18 -07:00
dotnet-maestro[bot] dd43757bfe
Update dependencies from https://github.com/dotnet/efcore build 20200819.5 (#25040)
[release/5.0] Update dependencies from dotnet/efcore
- Updates:
  - Microsoft.EntityFrameworkCore.Tools: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - Microsoft.EntityFrameworkCore.SqlServer: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - dotnet-ef: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - Microsoft.EntityFrameworkCore: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - Microsoft.EntityFrameworkCore.Design: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - Microsoft.EntityFrameworkCore.Relational: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - Microsoft.EntityFrameworkCore.Sqlite: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
  - Microsoft.EntityFrameworkCore.InMemory: from 5.0.0-rc.1.20417.2 to 5.0.0-rc.1.20419.5
2020-08-19 18:38:38 +00:00
Pranav K 57db5937f8
Fixup test 2020-08-19 11:23:02 -07:00
Sourabh Shirhatti b140c09c02
Add support delegating requests in HttpSysServer (#24857)
* Add new ctors for RequestQueue and UrlGroup

* Add DelegateRequest pinvokes

* Add Request Transfer Feature

* Fix accessibility of feature

* Test cleanup

* Update ref assembly

* hack: Make HttpSysServer packable

* Cleanup based on PR feedback

* Avoid sending headers after transfer

* Fix ref assembly

* Fix rebase conflict

* Switch to DelegateRequestEx

* Add feature detection

* Delete ref folder

* Add server feature

* s/RequestQueueWrapper/DelegationRule

* Fix UrlGroup was null issue

* Add light-up for ServerDelegationPropertyFeature

* Revert changes to sample

* Revert changes to sample take 2

* PR feedback

* s/Transfered/Transferred

* DelegateAfterRequestBodyReadShouldThrow

* Make DelegationRule disposable

* More license headers

* Incomplete XML doc

* PR feedback

* Fix broken test

* PR feedback

* Fixup test

* s/Transfer/Delegate

* s/transfer/delegate

* PR feedback
2020-08-19 10:27:18 -07:00
Pranav K c6814f4f4d
Enable the compatibility analyzer for Blazor WebAssembly (#24978)
See https://github.com/dotnet/sdk/pull/12872#issuecomment-673783153
2020-08-19 10:00:08 -07:00
Martin Costello b22512de0e
Right-size Lists when created (#23714)
Create new instances of List<T> with an appropriate capacity for the items that will be added.
Use Array.Empty<T>() where appropriate, rather than create an empty list and then return it.
2020-08-19 09:45:52 -07:00
Pranav K d2f34d6d99
Enable trimming for Microsoft.Extensions packages (#24986)
* Enable trimming for Microsoft.Extensions packages

Fixes https://github.com/dotnet/aspnetcore/issues/24634

* Update Microsoft.NET.Sdk.BlazorWebAssembly.csproj

* Apply suggestions from code review

* Fixup test
2020-08-19 16:29:52 +00:00
Justin Kotalik 187eacd570
Reenable concurrent read/write test (#25017) 2020-08-19 09:28:01 -07:00
Javier Calvarro Nelson 38563dd8d1
[Blazor][Identity] Update to the latest identity server version (#25002)
* Updates to IdentityServer 4.0.4
* Updates templates with the new migrations.
* Fixes a small configuration bug that required the configuration for the key to be specified.
* Updates the error url in IdentityServer config to match our template defaults.
2020-08-19 02:12:35 -07:00
Mackinnon Buck 6a3887aba8
Make Virtualize behave correctly with when ItemSize is unspecified or wrong. (#24920) 2020-08-18 20:15:50 -07:00
Chris Ross 24f26e7b6a
React to runtime release branch rename (#25026) 2020-08-19 01:25:51 +00:00
Pranav K ad8a927e85
Changes per discussion. Add a test 2020-08-18 17:56:59 -07:00
Pranav K 2f0cf8d3e9
Add support for views + SingleFileExe 2020-08-18 17:52:37 -07:00
Pranav K 2d6fd453e2 Allow ProblemDetails \ ValidationProblemDetails to be more testable
Fixes https://github.com/dotnet/aspnetcore/issues/15166
2020-08-18 16:57:29 -07:00
Hao Kung 94e314d4d2 Helix pass in -nopath for dotnet-install (#24968) 2020-08-18 16:57:29 -07:00
github-actions[bot] ae1981f931
Sync shared code from runtime (#25009)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-18 23:23:51 +00:00
Chris Ross bc40f40382
Log for SameSite=None without Secure (#24970)
* Log for SameSite=None without Secure

* Update src/Http/Http/src/Internal/EventIds.cs

Co-authored-by: campersau <buchholz.bastian@googlemail.com>

Co-authored-by: campersau <buchholz.bastian@googlemail.com>
2020-08-18 19:55:42 +00:00
James Newton-King edf25b7817
HTTP method matching: Jump table optimized for a single method (#24953) 2020-08-19 07:41:48 +12:00
Safia Abdalla 5297d5fd39
Add query param to check if Blazor WASM app is under debug (#24972) 2020-08-18 18:16:02 +00:00
Chris Ross 90408c0191
Move the code sync action to the release branch (#25003) 2020-08-18 17:32:59 +00:00
Justin Kotalik cdb3cbd620
Remove \r\n for \n when writing to ostream (#24980) 2020-08-18 09:34:43 -07:00
Pranav K 2ad1b6d835
Merged PR 9371: Revive support for globalization and localization in Blazor WASM (#24773)
* Merged PR 9371: Revive support for globalization and localization in Blazor WASM

Revive support for globalization and localization in Blazor WASM

* Load icu and timezone data files
* Unskip tests

Fixes https://github.com/dotnet/aspnetcore/issues/24174
Fixes https://github.com/dotnet/aspnetcore/issues/22975
Fixes https://github.com/dotnet/aspnetcore/issues/23260
2020-08-18 06:33:50 -07:00
James Newton-King f68f5b0ee8
Fix HTTP/2 tests that use HttpClient and H2C (#24981) 2020-08-18 21:12:52 +12:00
James Newton-King 592cea6a2b
Optimize writing single segment sequences (#24929) 2020-08-18 19:37:48 +12:00
James Newton-King 28dc9bffab
HTTP2: Write data and trailers under one lock (#24822) 2020-08-18 18:20:04 +12:00
Brennan c92eaa28f4
Add inline scheduler option for Sockets transport (#24638) 2020-08-17 22:00:15 -07:00
Pranav K 512a49c401
Add support for model binding DateTime as UTC (#24893)
* Add support for model binding DateTime as UTC

Fixes https://github.com/dotnet/aspnetcore/issues/11584

* Make test work in other TZs

* Changes per PR comments

* Cleanup unused exception code path, fix doc comments
* Clean up usage of variables
* Adjust logging to be consistent

* Apply suggestions from code review
2020-08-18 04:04:27 +00:00
James Newton-King 58a75925f7
HTTP2: Optimize header processing (#24945) 2020-08-18 14:31:57 +12:00
Pranav K 8a8a1ac972
Fixups 2020-08-17 12:47:10 -07:00
Justin Kotalik bbb851e3eb
General cleanup in IIS (#24754) 2020-08-17 12:34:13 -07:00
David Fowler e0413903e5
Minimal changes to support certificate chain-preloading at startup (#24934) 2020-08-17 12:20:10 -07:00
dotnet-maestro[bot] fec96f2165
Update dependencies from https://github.com/dotnet/arcade build 20200811.8 (#24961)
[master] Update dependencies from dotnet/arcade
- Updates:
  - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20403.5 to 5.0.0-beta.20411.8
  - Microsoft.DotNet.Helix.Sdk: from 5.0.0-beta.20403.5 to 5.0.0-beta.20411.8
2020-08-17 19:07:18 +00:00
John Luo cfe158cbed
Convert DatabaseErrorPage to exception filter (#24588)
* Convert DatabaseErrorPage middleware to exception filter
2020-08-17 11:13:17 -07:00