Chris Ross
3b9c16ce28
Cherry pick preview8 changes into master ( #24849 )
...
* Pass RequestAborted to SendFileAsync
* Fix HttpSys tests
2020-08-12 21:30:04 +00:00
James Newton-King
ffeeb034f5
Add gRPC standard headers to known headers ( #24714 )
2020-08-13 08:59:44 +12:00
Safia Abdalla
577f1a760f
Add tests for navigate on form submit ( #24684 )
...
* Add tests for navigate on form submit
* Add fix for re-render after event dispatch
* Remove deferred event handling in .NET
* Only dispatch events with registered handlers once
2020-08-12 09:57:58 -07:00
Mackinnon Buck
40869f8969
InputRadio validation styling fix ( #24762 )
2020-08-12 09:03:29 -07:00
msftbot[bot]
4092201629
Merge pull request #24823 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-08-12 03:56:30 +00:00
Stephen Halter
292cb9c5dd
Kestrel SNI from config ( #24286 )
2020-08-11 19:18:37 -07:00
Pranav K
c3a12cefae
Include the DebugProxy binaries in DevServer ( #24817 )
...
* Remove unused nuspec property that relied on relative path
2020-08-11 19:14:35 -07:00
James Newton-King
57b5321417
Fix flaky keepalive ping test ( #24804 )
...
* Fix flaky keepalive ping test
* Clean up stream
2020-08-12 00:23:56 +00:00
JLeczycki
7632afc4eb
Pass the exception to HealthCheckEnd log message ( #24786 )
...
There was null intead of exception passed.
2020-08-11 10:58:51 -07:00
Doug Bunting
522088b6be
Do not run hostname tests on macOS
2020-08-11 10:45:39 -07:00
David Fowler
fcf2823f3a
Support linking with IHubFilter ( #24780 )
...
- Mark AddFilter to make sure constructors don't get erased during aggressive linking
2020-08-11 10:39:52 -07:00
Pranav K
8e5533f2a3
Use BlazorWebAssemblySDK ( #24371 )
...
* Use BlazorWebAssemblySDK
* Update projects to use the BlazorSDK
* Remove tasks and targets from RazorSDK
* Remove workarounds from BlazorSDK
* Fixup
* Fixup
2020-08-11 17:29:01 +00:00
Doug Bunting
7efec87a14
Fix fetch of package version in eng/Publishing.props ( #24777 )
...
- target project is a test project; need to undo `$(SkipTestBuild)` impact in these jobs
nit: remove a comment from DeveloperCertificates project that's irrelevant now
2020-08-11 10:10:24 -07:00
github-actions[bot]
6f802812a3
Sync shared code from runtime ( #24784 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-11 11:29:32 +00:00
Pranav K
059e2fdc49
Remove Internal.AspNetCore.Analyzers ( #24693 )
...
* Remove Internal.AspNetCore.Analyzers
This resolves build flakiness caused by referencing the analyzer:
```
2020-08-07T21:22:39.1149296Z ##[error].dotnet\sdk\5.0.100-rc.1.20379.10\Microsoft.Common.CurrentVersion.targets(4188,5): error MSB3026: (NETCORE_ENGINEERING_TELEMETRY=Build)
Could not copy "F:\workspace\_work\1\s\artifacts\obj\Internal.AspNetCore.Analyzers\Release\netstandard1.3\Internal.AspNetCore.Analyzers.dll"
to "F:\workspace\_work\1\s\artifacts\bin\Internal.AspNetCore.Analyzers\Release\netstandard1.3\Internal.AspNetCore.Analyzers.dll". Beginning retry 1 in 1000ms.
The process cannot access the file 'F:\workspace\_work\1\s\artifacts\bin\Internal.AspNetCore.Analyzers\Release\netstandard1.3\Internal.AspNetCore.Analyzers.dll' because it is being used by another process.
```
The analyzer checks if pubternal types are being exposed in public APIs. We no longer author pubternal types, so this is no longer a concern.
* Remove DisablePubternalApiCheck
2020-08-11 03:08:55 +00:00
James Newton-King
5fbd1eb007
Reset KeepAliveTimeout on HTTP/2 ping ( #24644 )
2020-08-11 14:59:24 +12:00
Pranav K
fb5dd8564e
Quarantine tests ( #24757 )
...
* Quarantine LinkedApplicationWorks
* Quarantine flaky tests
* Quarantine CanBindTextbox_Decimal_InvalidInput
* React to NetworkException type
* One more test
2020-08-11 01:06:20 +00:00
Pranav K
fd1a5c5a9c
Merge pull request #24641 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-08-10 17:13:51 -07:00
James Newton-King
3de55dfd21
Increase HTTP/2 stream pool max size to 100 ( #24712 )
2020-08-11 10:29:41 +12:00
Levi Broderick
bbf7c8780c
Clean up some usage of SHA1 and SHA256 in the code base ( #24696 )
...
* AntiForgery: Use SHA256 one-shot
* AuthN: Use SHA256 one-shot APIs
* MVC/Razor: Cleanup SHA256 references
* WebSockets: Use SHA1 one-shots
* dotnet-openapi: Use preferred SHA256 factory
* SignalR: Prefer RNG.Fill over RNG.GetBytes
2020-08-10 14:26:41 -07:00
David Fowler
0e592df3ec
Make authentication linker friendly ( #24708 )
...
* Make authentication linker friendly
- Preserve constructors wherever open generics or type arguments exist
2020-08-10 13:06:19 -07:00
dotnet-maestro[bot]
927ddab349
[master] Update dependencies from dotnet/runtime dotnet/efcore ( #24717 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200808.3
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , 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.Internal.Transport , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting , 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.Configuration.Xml , 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.Abstractions , 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.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Principal.Windows , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.AccessControl , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions
From Version 5.0.0-rc.1.20406.11 -> To Version 5.0.0-rc.1.20408.3
* Update dependencies from https://github.com/dotnet/runtime build 20200809.3
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , 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.Internal.Transport , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting , 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.Configuration.Xml , 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.Abstractions , 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.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Principal.Windows , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.AccessControl , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions
From Version 5.0.0-rc.1.20406.11 -> To Version 5.0.0-rc.1.20409.3
* Update dependencies from https://github.com/dotnet/efcore build 20200810.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-rc.1.20406.4 -> To Version 5.0.0-rc.1.20410.1
* Update dependencies from https://github.com/dotnet/efcore build 20200810.2
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-rc.1.20406.4 -> To Version 5.0.0-rc.1.20410.2
* React to S.T.Json changes
* Update LangVersion=9.0 in the repo to use T?
* Remove LangVersion project project files
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-08-10 19:50:18 +00:00
Pranav K
56be06bc7d
Update test runner to 2.4.3 ( #24685 )
2020-08-10 12:32:04 -07:00
Eric Erhardt
d25a7658c8
Remove LinkerWorkaround.xml ( #24748 )
...
* Remove LinkerWorkaround.xml
The workaround file is no longer needed, now that the underlying bugs are fixed in the dotnet/runtime libraries.
Fix #23262
* Also remove LinkerWorkaround from Components/WebAssembly
2020-08-10 18:59:59 +00:00
Pranav K
6e006e3e2a
Merge remote-tracking branch 'origin/release/5.0-preview8'
2020-08-10 11:39:18 -07:00
Safia Abdalla
15ba83248f
Add guard check for cleared closest DOM element ( #24707 )
...
* Add guard check for cleared closest DOM element
* Update src/Components/Web.JS/src/Rendering/BrowserRenderer.ts
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-08-10 16:50:50 +00:00
David Fowler
24f35bc76f
Update ReferenceEqualityComparer.cs ( #24728 )
...
We don't support running on mono 4.x anymore
2020-08-10 09:08:45 -07:00
David Fowler
fa0cb71186
Make the default route constraints linkable ( #24727 )
...
- Added a helper that gives the linker the ability to preserve the constructors of these types
2020-08-09 20:23:54 -07:00
github-actions[bot]
983e7ed635
Sync shared code from runtime ( #24699 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-08 13:00:25 +00:00
Kahbazi
d0a8117ac4
Use HasFlag in ForwardedheadersMiddleware ( #24660 )
2020-08-08 02:36:19 +00:00
Pranav K
383a272f36
Quarantine falky test ServerEventTest.EventDuringBatchRendering_CanTriggerDOMEvents ( #24691 )
...
* Quarantine falky test ServerEventTest.EventDuringBatchRendering_CanTriggerDOMEvents
Blazor's E2E testing uses a much shorter timeout after a test failure. This test run had several test failures, but most of these appear to be the result of
an incredibly short timeot. This PR quarantines the one test that appears to be a genuine failure and also increases the timeout duration for after test failure.
* Quarantine ServerExecutionTests.ServerGlobalizationTest.CanSetCultureAndParseCultureSensitiveNumbersAndDates
2020-08-07 23:16:53 +00:00
Adam Sitnik
a196a6a0db
stop using RuntimeInformation.IsOSPlatform(OSPlatform.Browser) (removed in upcoming builds) ( #24652 )
...
switch back to RuntimeInformation.IsOSPlatform(OSPlatform.Create("BROWSER"))
2020-08-07 19:10:02 +00:00
Justin Kotalik
6020fdef0b
Add reset support for IIS ( #24552 )
2020-08-07 11:08:40 -07:00
Steve Sanderson
8ba7c7b457
Throw if a component produces an invalid render tree. Fixes #24579 ( #24650 )
2020-08-07 16:41:08 +01:00
Safia Abdalla
7eb58e045d
Add workaround for deprecated overload in authentication scenarios ( #24600 )
...
* Add workaround for deprecated overload in authentication scenarios
* Respond to feedback from peer review
* Use explicit version in Version.props
* Temporarily disable NU1065 warning
* Always use latest package version
2020-08-07 08:37:16 -07:00
Pranav K
146d316bc5
Add a middleware for browser refresh. ( #24574 )
...
* Add a middleware for browser refresh.
* Introduce a middleware that can connect to the dotnet-watch change server
* dotnet-watch: Inject the middleware in 3.1 or apps using start hooks \ hosting startup
https://github.com/dotnet/aspnetcore/issues/23412
* Update src/Tools/dotnet-watch/BrowserRefresh/src/StartupHook.cs
* Changes per PR comments
* Add a test for reading the script
* Changes per PR comments
* Updates docs
* Fixup test
* Add project ref
2020-08-06 17:20:51 -07:00
github-actions[bot]
973a97fc4b
Sync shared code from runtime ( #24630 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-06 21:26:32 +00:00
Mackinnon Buck
6c35e2e84d
Fixed flaky test 'CanInfluenceHeadDuringPrerender'. ( #24624 )
2020-08-06 14:02:30 -07:00
Justin Kotalik
9d783c5b76
Quarantine CanInfluenceHeadDuringPrerender ( #24603 )
...
* Update PrerenderingTest.cs
* using
2020-08-06 18:40:38 +00:00
Justin Kotalik
c924af3bd7
IIS HTTP/2 Response Trailers ( #24120 )
2020-08-06 09:21:51 -07:00
David Fowler
ed5034eb8e
Actually fix the CopyToAsync this time ( #24609 )
...
* Actually fix the CopyToAsync this time
- Hard code the 4K buffer length for CopyToAsync
- Write a test this time :D
2020-08-05 21:11:57 -07:00
Roman Marusyk
a28c2b62dc
Update documentation for returns of indexer in IRequestCookieCollection when key is not present ( #24497 )
2020-08-05 19:36:07 -07:00
David Fowler
8cbe97df4b
Added connection logs ( #24607 )
2020-08-05 18:57:14 -07:00
dotnet-maestro[bot]
f52077f599
[master] Update dependencies from dotnet/runtime dotnet/efcore ( #24496 )
...
* React to SDK changes
* Skip instead of quar
* Rely on transitive Microsoft.Bcl.AsyncInterfaces since it's now part of DependencyInjection.
- This was introduced as part of: https://github.com/dotnet/runtime/pull/40189
- Prior to this we'd get version conflicts for our referenced Bcl.AsyncInterfaces.
* Update global.json
- move to RC1 SDK
* React to runtime nullability changes with DataAnnotations.
- ValidationResult was updated to declare its nullability: a9009db46e (diff-8e86bc8fee3eb0242c5b8368dfabe065)
* Stop using HttpRequestMessage.Properties in favor of non-obsoleted HttpRequestMessage.Options.
- Introduced in 3eda592cf4
* Stop using more HttpRequestMessage.Properties in Component's web assembly project.
- Introduced in dotnet/runtime@3eda592
* Update dependencies from https://github.com/dotnet/runtime build 20200804.16
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , 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.Internal.Transport , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting , 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.Configuration.Xml , 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.Abstractions , 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.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Principal.Windows , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.AccessControl , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions
From Version 5.0.0-rc.1.20370.4 -> To Version 5.0.0-rc.1.20404.16
* Ignitor to 5.0
* Constants
* Update dependencies from https://github.com/dotnet/efcore build 20200805.3
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-rc.1.20372.13 -> To Version 5.0.0-rc.1.20405.3
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
Co-authored-by: wtgodbe <wigodbe@microsoft.com>
Co-authored-by: N. Taylor Mullen <nimullen@microsoft.com>
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2020-08-05 18:42:25 -07:00
Stephen Halter
b052c4fcc2
Upgrade Gradle used for the SignalR Java client from 6.1 to 6.5 ( #24495 )
2020-08-05 17:23:32 -07:00
msftbot[bot]
4752d95a76
Merge pull request #24596 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-08-05 22:01:31 +00:00
Kahbazi
b2c7d514c9
[Kestrel] Move to GenericHost ( #24279 )
...
* [Kestrel] Move to GenericHost
* Change TransportSelector
* Add an empty app for TestServer
* Add an empty app for TestServer
* Set app
* Stop host
* Stop the TestSserver
* Stop more hosts!
* Stop host in dispose
* implement IAsyncDisposable for TestServer
* configure await
* catch OperationCanceledException
* Apply suggestions from code review
Co-authored-by: Brennan <brecon@microsoft.com>
2020-08-05 21:48:53 +00:00
Pranav K
b8b438d945
Add additional constructor to HealthReport ( #24597 )
...
Co-authored-by: Serg046 <serg046@outlook.com>
2020-08-05 21:21:55 +00:00
Justin Kotalik
e75a5c166a
Merge branch 'release/5.0-preview8' into master
2020-08-05 13:47:27 -07:00
witskeeper
2831aaa08a
fix : failureStatus ( #21175 )
...
* fix : failureStatus
use HealthCheckRegistration.FailureStatus when CheckHealthAsync failure
Fixes https://github.com/dotnet/aspnetcore/issues/22503
2020-08-05 13:00:08 -07:00
Pranav K
b654051748
Remove Blazor internal profiling infrastructure ( #24468 ) ( #24589 )
...
* Put back InternalCalls
* Removing .NET profiling calls
* Remove JS side profiling
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-08-05 12:45:42 -07:00
WuYafeng
748798889b
Fix:ControllerLinkGeneratorExtensions.GetAmbientValues throws NullReferenceException ( #24576 )
...
- related issue #24412
- add null check on GetAmbientValues(HttpContext)
2020-08-05 09:33:31 -07:00
Steve Sanderson
f05827484e
Speed up multiple attributes overwrite detection. Fixes #24467 ( #24561 )
2020-08-05 16:39:36 +01:00
Steve Sanderson
d99644ef9c
Move reconnection delay mechanism into framework code ( #24566 )
2020-08-05 16:00:54 +01:00
Pranav K
bb9653532a
Add nullable annotations to M.A.Hosting and DefaultBuilder ( #24571 )
...
* Turn on nullability annotations for public types in M.A.Hosting
* Turn on nullability annotations for Microsoft.AspNetCore and
Microsoft.AspNetCore.Server.Abstractions
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
2020-08-05 01:07:11 +00:00
Pranav K
84b30133a7
Merge branch 'master' into merge/release/5.0-preview8-to-master
2020-08-04 16:21:58 -07:00
Tanay Parikh
29ceed2b2a
Razor TagHelperDescriptor Hashing ( #24551 )
...
* Razor TagHelperDescriptor Hashing and Caching
1/2 PRs for https://github.com/dotnet/aspnetcore/issues/23170
The other PR will be in aspnetcore-tooling to utilize these changes.
https://github.com/dotnet/aspnetcore-tooling/pull/2307
2020-08-04 13:06:42 -07:00
David Fowler
cfd20ad2d7
Fix some linker warnings, report others ( #24553 )
...
* Fix some linker warnings, report others
- Added RequiresUnreferencedCode to UseStartup that takes a string
- Added some suppressions
- Fixed ConfigureContainer calls
- Fixed HostingStartupAttribute
2020-08-04 12:40:42 -07:00
Doug Bunting
e13368391b
Keep `@(Reference)` metadata when creating `@(ProjectReference)` items ( #21567 )
...
- #20818 , fix e.g. references to Microsoft.Web.Xdt.Extensions in our packages
- make `@(Reference)` items much more broadly applicable
- emit an error when `@(ProjectReference)` is used instead of `@(Reference)`
- then get rid of the errors (!!)
- rename a couple of projects to match their assembly names
- then regenerate the `@(ProjectReferenceProvider)` items
- switch intersection approach from Exclude / Exclude to Copy / Update / Copy
Projects of particular interest:
- src/DefaultBuilder/src/Microsoft.AspNetCore.csproj
- honouring metadata left e.g. Microsoft.AspNetCore.Components.WebAssembly.DevServer package unchanged
- removed redundant metadata after that confirmation
- src/Razor/tools/Microsoft.AspNetCore.Razor.Internal.Transport/
- content of this package unchanged but metadata avoids extra work
- add a comment about the extra work
- src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/
- success! removes Microsoft.Web.Xdt.Extensions dependency from the package
- src/SiteExtensions/Runtime/Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj
- add a `Condition` to avoid an ordering issue I hit here
- src/Tools/Extensions.ApiDescription.Server/src/
- avoid errors the new build ordering and timing caused
Separately, up the timeout in the `<DownloadFile />` task
- hit repeated timeouts downloading dotnet-runtime-5.0.0-rc.1.20370.4-win-x64.zip
nits:
- remove dupe `@(Reference)` item in Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj
- remove useless `%(ProjectReference.IsImplicitlyDefined)` metadata as well as its misspellings
- remove extra spaces from ProjectReferences.props
- clean up a few comments in ResolveReferences.targets
* !fixup! Correct other references to renamed projects
2020-08-04 10:05:55 -07:00
SQL-MisterMagoo
1be16fb4c9
Add delay before showing Reconnection UI ( #24137 )
...
* Add CSS delay before showing Reconnection UI
* rebuild yet again to try and get past the conflict
2020-08-04 04:14:46 +00:00
Mackinnon Buck
4ef5e10e6d
Virtualization support ( #24179 )
2020-08-03 17:02:12 -07:00
Pranav K
fcabe6f0fd
Turn off full GC ( #24545 )
...
Using the full gc sometimes leads to an infinite recursion resulting
in a browser freeze. This was noted as part of running Blazor's benchmarks.
This is being addressed in rc1, in the meanwhile this reverts the behavior to 3.2 defaults.
Browser freezes when using a Blazor WASM application.
Yes. Full GC on is new to WASM on .NET Core
Low. Off by default is the behavior we had in 3.2.
2020-08-03 15:43:34 -07:00
David Fowler
3f15d26851
Obsolete the ResponseCookiesFeature constructor ( #24546 )
2020-08-03 14:47:20 -07:00
David Fowler
1f5149a663
Implement CopyToAsync in the FileBufferingReadStream ( #24499 )
...
* Implement CopyToAsync in the FileBufferingReadStream
- overrride Span and Memory overloads and implement array overloads in terms of those overloads.
- Implemented CopyToAsync (but not CopyTo)
- Added tests
Fixes #24032
2020-08-03 14:14:42 -07:00
Daniel Roth
e31998c94b
Update Blazor Server survey link for .NET 5 ( #24507 )
2020-08-03 13:46:09 -07:00
Steve Sanderson
1885af9634
Add console runner for measuring Blazor perf on desktop interpreter ( #24469 )
2020-08-03 21:42:44 +01:00
Safia Abdalla
0335ac60a6
Check completed task in circuit termination tests ( #24450 )
...
* Check completed task in circuit termination tests
* Remove extraneous whitespace
* Update CircuitGracefulTerminationTests.cs
2020-08-03 13:40:29 -07:00
Steve Sanderson
7e11c3c264
Cache parameter writer lookups ( #24536 )
2020-08-03 21:01:16 +01:00
Steve Sanderson
38e166fd59
Optimize render tree building via RenderTreeFrameArrayBuilder ( #24484 )
2020-08-03 18:42:31 +01:00
Cédric Luthi
749450ac7b
[HTTPS] Fix the CertificateManagerEventSource event ids ( #24519 )
2020-08-03 07:30:52 -07:00
David Fowler
404d817677
Dipping toes into linker friendliness ( #24458 )
...
- Annotated UseMiddleware and UseStartup to preserve constructors and public methods.
- Annotated UseHub and MapHub preserve constructors and public methods.
- Added a test to verify UseStartup and UseMiddleware works
- The linker.xml preserves constructors all of the types that are registered in DI. This should be removed once we get the linker friendly DI changes.
2020-08-03 06:54:03 -07:00
Doug Bunting
b534f92589
Remove unused HTML files ( #24488 )
...
- just a bit confusing to leave these around
- the files haven't been used since @pakrym removed the resources in 56c064bd53
2020-08-02 11:46:10 -07:00
Daniel Roth
4bb01a5a43
Update Blazor WebAssembly in-product survey link for .NET 5. ( #24508 )
2020-08-02 09:59:30 -07:00
Steve Sanderson
6f7a3dfd4e
Remove Blazor internal profiling infrastructure ( #24468 )
...
* Put back InternalCalls
* Removing .NET profiling calls
* Remove JS side profiling
2020-07-31 22:04:48 +01:00
Pranav K
f495fcb151
Avoid doing unncecessary work when generating component declaration files. ( #24445 )
...
The output of the declaration file for Razor components are unaffected by all inputs other than the input .razor file.
Consequently we can avoid regenerating these files if the output is newer than the input. This is the same heuristic we apply to Blazor WebAsssembly's
compression artifacts.
This PR combines these two improvements for a ~90ms (10%) improvement in the inner loop.
```
17 ms GenerateBlazorWebAssemblyBootJson 1 calls
22 ms Copy 8 calls
39 ms ProcessFrameworkReferences 1 calls
40 ms RazorTagHelper 1 calls
51 ms ResolveAssemblyReference 1 calls
70 ms GetFileHash 1 calls
80 ms RazorGenerate 2 calls
111 ms Csc 2 calls
Time Elapsed 00:00:00.95
```
```
17 ms GenerateBlazorWebAssemblyBootJson 1 calls
21 ms Copy 8 calls
37 ms ProcessFrameworkReferences 1 calls
51 ms ResolveAssemblyReference 1 calls
70 ms Csc 1 calls
72 ms GetFileHash 1 calls
79 ms RazorGenerate 2 calls
Time Elapsed 00:00:00.86
```
In after: Csc calls reduced to one, RazorTagHelper call removed.
2020-07-31 20:40:52 +00:00
Hao Kung
e6b9a3d295
Remove debian 8 from helix runs ( #24454 )
...
* Add display environment
* Print out env variables as part of helix runs
* Update TestRunner.cs
* Remove Debian 8 from helix matrix
* Remove Debian 8 skip
* Remove debian 8 skip
* Remove debian 8
* Remove debian 8 skip
* Remove Debian 8 skip
* Remove debian 8
* Update Program.cs
* Update TestRunner.cs
* Update TestRunner.cs
2020-07-31 20:35:54 +00:00
Safia Abdalla
c0c0a26000
Wait for component to mount before checking for output ( #24451 )
...
* Wait for component to mount before checking for output
* Use Exists to check for element with timeout
* Update ComponentRenderingTest.cs
2020-07-31 12:44:27 -07:00
Brennan
4290bcc782
Pass serialization exceptions to Hub disconnect ( #24408 )
2020-07-31 10:13:28 -07:00
Steve Sanderson
f28ef7c3e8
Use ordinal comparison when detecting event handler attributes. Fixes #24465 ( #24471 )
2020-07-31 17:54:35 +01:00
Pranav K
3e1e69ecce
Add nullable annotations to Authenticator.Core & Authentication.Cookies ( #24307 )
...
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
2020-07-30 17:09:14 -07:00
Kahbazi
799014cfe7
Throw BadHttpRequestException in HttpSys ( #24213 )
2020-07-30 16:29:38 -07:00
Kahbazi
d0cca519b4
Set ContentLength for TestHost ( #24107 )
2020-07-30 16:10:58 -07:00
Miha Zupan
e3501ddd4a
H/QPackEncoder overloads accepting Encoding ( #24448 )
2020-07-30 20:11:58 +00:00
marlongerson
b9e663bffb
[Identity] Updated RenderSection to use async method. ( #24121 )
2020-07-30 13:03:11 -07:00
Safia Abdalla
d6ed98044d
Merge branch 'master' into merge/release/5.0-preview8-to-master
2020-07-30 10:54:18 -07:00
William Godbe
cf728173d1
Quarantine failing test ( #24415 )
...
* Quarantine failing test
* Update DefaultControllerFactoryTest.cs
2020-07-29 15:51:44 -07:00
Huei Feng
ae840db2cc
Add a readonly modifier to a missing readonly field ( #24379 )
2020-07-29 15:00:23 -07:00
Pranav K
17687f538c
Improve detection of Record types ( #24409 )
2020-07-29 13:27:27 -07:00
Safia Abdalla
f88034902a
Don't render route component if OnNavigateAsync task in-progress ( #24225 )
2020-07-29 11:37:52 -07:00
John Luo
fd9f17ddf9
Update blazor templates with Microsoft.Identity.Web APIs ( #24268 )
...
* Update blazor and components web templates
* Update Identity.Web version to 0.2.1-preview
2020-07-29 10:31:47 -07:00
Steve Sanderson
5e49fc336e
In CSS scoping, support ::deep alongside other combinators ( #24376 )
2020-07-29 14:49:50 +01:00
Kahbazi
01e05359d6
Dispose CTS in WebHost.StopAsync ( #24399 )
2020-07-29 12:43:46 +00:00
Stephen Halter
e225057370
Add missing .ConfigureAwait(false) to WebHost ( #24390 )
2020-07-28 18:22:44 -07:00
Javier Calvarro Nelson
3cf39cf7e1
Update the templates CSS to leverage CSS isolation ( #24380 )
...
* Template changes
* Template changes + scope computation update
* Template updates
* tmp
* Fix style path
* Webassembly template changes
* Update tests
* Undo blazor.server.js changes
* WebAssembly cleanups
* Undo unwanted change
* Undo another unwanted change
* Fix server-side login combinator
* update tests, switch from app to div id=app
2020-07-28 15:29:57 -07:00
Tanay Parikh
4aa5e03207
Unquarantine Tests ( #24295 )
...
* Unquarantine Tests
2020-07-28 11:21:33 -07:00
msftbot[bot]
8de0c7386c
Merge pull request #24373 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-28 18:21:05 +00:00
Kahbazi
085921305a
[IIS] Move to GenericHost ( #24280 )
2020-07-28 11:02:09 -07:00
Phil Henning
28d5d49c21
Support SSO for Blazor WASM template ( #23815 )
...
Thanks @phenning and @javiercn !
2020-07-28 10:05:09 -07:00
Youssef Victor
0437117cfb
Remove extra abstract keyword ( #24274 )
2020-07-28 00:58:27 -07:00
James Newton-King
2243f3f171
Rename KeepAlivePingInterval to KeepAlivePingDelay ( #24308 )
2020-07-28 12:32:46 +12:00
Kahbazi
747957bb40
[Hosting] Move to GenericHost ( #24297 )
2020-07-27 15:29:00 -07:00
Kahbazi
6097145096
[Security] Move to GenericHost ( #24282 )
2020-07-27 13:09:15 -07:00
Tanay Parikh
780d527f0b
Merge pull request #24302 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-27 12:47:21 -07:00
Kahbazi
e893ef59e8
[Routing] Move to GenericHost ( #24281 )
2020-07-27 10:03:58 -07:00
Tanay Parikh
ed9925d21f
Merge branch 'merge/release/5.0-preview8-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/5.0-preview8-to-master
2020-07-27 09:31:46 -07:00
Pranav K
f26942805d
Turn on nullability for Routing ( #24238 )
...
* Turn on nullability for Routing
We previously only had annotations enabled which resulted in incorrect nullability. This change enables
nullability.
Fixes https://github.com/dotnet/aspnetcore/issues/24042
2020-07-25 07:34:05 -07:00
Kahbazi
64b5ea9393
[HttpSys] Move to GenericHost ( #24285 )
2020-07-24 22:03:10 -07:00
Tanay Parikh
b094ecddf0
Create PublicAPI.Unshipped.txt ( #24299 )
...
* Updated PublicAPI.Unshipped
* Improve record type detection
Support both forms of Clone methods to detect record types
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-25 00:44:58 +00:00
John Luo
dc53cd0173
Update RazorPages, MVC, WebApi templates to use Identity.Web ( #24167 )
...
* Update RazorPages, MVC, WebApi templates to use Identity.Web
- Obsolete AAD v1 APIs
2020-07-24 17:36:12 -07:00
Steve Sanderson
eb8764e80f
CSS scoping deep combinators ( #24289 )
...
* Support deep combinators with CSS scoping
* Update CSS scope computation
2020-07-24 14:51:30 -07:00
Youssef Victor
8b0f46c357
Use Compount Assignment to respect IDE0054 ( #24202 )
...
* Use Compount Assignment to respect IDE0054
2020-07-24 13:54:58 -07:00
Kahbazi
990e639c08
[MusicStore] Move to GenericHost ( #24284 )
2020-07-24 12:21:13 -07:00
Tanay Parikh
3ea1fc7aac
Merge pull request #24258 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-24 11:11:33 -07:00
Doug Bunting
918d953767
Use Microsoft.CodeAnalysis.PublicApiAnalyzers ( #24188 )
...
* Use Microsoft.CodeAnalysis.PublicApiAnalyzers
- #4259 1/2
- followup 2/3 for 5266918ed2
- includes baselines for 16 MVC projects
- will automated further additions in another PR
- suppress warnings that may cause back-compat problems if fixed
nit: sort `@(LatestPackageReference)` a bit better
2020-07-24 09:45:11 -07:00
Kahbazi
9a4eb51595
[Azure] Move to GenericHost ( #24283 )
2020-07-24 09:42:50 -07:00
Pranav K
088a6fa1ec
Add support for binding record types ( #23976 )
...
* Add support for binding record types
* PR feedback
* PR changes
* Changes per PR comments
* Changes per PR comments
* Update src/Mvc/Mvc.Core/src/Resources.resx
* Apply suggestions from code review
* Add some more tests
* Undo blazor.server.js changes
* Fixup test
2020-07-24 08:45:06 -07:00
Javier Calvarro Nelson
b326be1710
[Blazor] Wires up CSS isolation ( #24221 ) ( #24271 )
...
* Wires up CSS isolation on the build.
* Transforms the css files during build.
* Bundles all scopes css into a single file and exposes it on _framework/scoped.styles.cs
* Packs pre-processed files as static web assets.
2020-07-24 08:42:35 -07:00
Javier Calvarro Nelson
3a819929a7
[Blazor] Wires up CSS isolation ( #24221 )
...
* Wires up CSS isolation on the build.
* Transforms the css files during build.
* Bundles all scopes css into a single file and exposes it on _framework/scoped.styles.cs
* Packs pre-processed files as static web assets.
2020-07-24 09:02:36 +02:00
Pranav K
11835cf768
Add support for launching a browser on file change ( #24220 )
2020-07-23 17:04:31 -07:00
Pranav K
b33f8ddbe2
Add dotnetRunMessages to ASP.NET Core templates ( #24229 )
2020-07-23 16:37:18 -07:00
Hao Kung
697b397b9b
Revert AuthenticationAddXyz overload changes ( #24253 )
2020-07-23 15:00:01 -07:00
Chris Ross
c27dcc4b39
Move DataProtection tests to HostBuilder ( #24254 )
2020-07-23 21:57:33 +00:00
Kahbazi
8b7972064f
Load ClientCertificateMode from config #18660 ( #24076 )
2020-07-22 18:57:06 -07:00
Pranav K
7a9707eb98
Merge pull request #24217 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-22 18:00:08 -07:00
Mackinnon Buck
10ff1d6e2b
Merge remote-tracking branch 'origin/release/5.0-preview8' into merge/release/5.0-preview8-to-master
2020-07-22 16:49:01 -07:00
Brennan
a8c39e9cc5
Provide default implementation for IHubFilter.InvokeMethodAsync ( #23968 )
2020-07-22 16:02:00 -07:00
Ryan Nowak
6f37e8a552
[Mvc] Improved route value transformer ( #21481 )
...
* Apply suggestions from code review
Cleaned up error messages. Thanks @jamesnk, I totally overlooked the content.
Co-authored-by: James Newton-King <james@newtonking.com>
Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
Co-authored-by: James Newton-King <james@newtonking.com>
2020-07-22 15:44:51 -07:00
Mackinnon Buck
48d73434fe
Merge branch 'release/5.0-preview8'
2020-07-22 15:32:19 -07:00
Hao Kung
e7b55df6c5
Fix blocking call in FindByEmailAsync ( #24116 )
2020-07-22 15:04:33 -07:00
Safia Abdalla
4734f47ba5
Follow-ups to lazy-load from API review ( #24169 )
...
* Follow-ups to lazy-load from API review
* Address feedback from peer review
2020-07-22 14:47:01 -07:00
Mackinnon Buck
b121a2ff6a
Influence HTML head from Blazor ( #23833 )
...
* Started on head manager
* Working prototype.
* Started on improved meta tag support.
* Improved meta support and better thread safety.
* Improved synchronization.
* Added support for meta "property" attribute.
* Updated exception message.
* Added link element support.
* Started on functional tests.
* Added more functional tests.
* Added E2E tests.
* Simplified implementation.
* Prerendering support.
* Small documentation updates.
* Made TagElement and TitleElement readonly.
* Removed M.A.Components.Server dependency.
* Minor fixes and updates.
* Update PrerenderedHeadComponent.razor
* Removed AddWebExtensions.
* Applied CR feedback
2020-07-22 13:25:15 -07:00
John Luo
f23460e901
Quarantine flaky test ( #24191 )
2020-07-22 10:02:23 -07:00
Zachary Becknell
0ef891f75e
Blazor: Add element/component name for duplicate key ( #24153 )
...
* Add element/component name for duplicate key
* Add in keyword for frame param
Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
2020-07-22 09:50:56 -07:00
David Fowler
113805aba8
Add support for instantiating the startup class ( #24144 )
...
* Add support for instantiating the startup class
- Adds an overload of UseStartup that takes a factory so users can control the instance creation. The factory is given the WebHostBuilderContext to expose access to configuration and IWebHostEnvironment.
- Make sure only one startup delegate runs, the last one registered.
* Update src/Hosting/Hosting/src/GenericHost/GenericWebHostBuilder.cs
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
* PR feedback and bug fixes
- Use actual throw expressions...
- Added null checks
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-07-22 08:58:44 -07:00
Pranav K
e1fcdcaa86
Merge branch 'master' into merge/release/5.0-preview8-to-master
2020-07-21 19:40:32 -07:00
Kahbazi
3cf8b5cf10
Add IgnoreAntiforgeryToken to Error Page
...
Fixes https://github.com/dotnet/aspnetcore/issues/23759
2020-07-21 19:24:00 -07:00
dotnet-maestro[bot]
6ec9940b16
[master] Update dependencies from dotnet/efcore dotnet/arcade dotnet/runtime dotnet/roslyn ( #23978 )
...
* Update dependencies from https://github.com/dotnet/arcade build 20200714.3
Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20330.3 -> To Version 5.0.0-beta.20364.3
* Update dependencies from https://github.com/dotnet/efcore build 20200715.11
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20365.2 -> To Version 5.0.0-rc.1.20365.11
* Update dependencies from https://github.com/dotnet/efcore build 20200715.12
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20365.2 -> To Version 5.0.0-rc.1.20365.12
* Update dependencies from https://github.com/dotnet/efcore build 20200715.14
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20365.2 -> To Version 5.0.0-rc.1.20365.14
* Update dependencies from https://github.com/dotnet/efcore build 20200715.16
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20365.2 -> To Version 5.0.0-rc.1.20365.16
* Update dependencies from https://github.com/dotnet/efcore build 20200716.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20365.2 -> To Version 5.0.0-rc.1.20366.1
* Update dependencies from https://github.com/dotnet/runtime build 20200716.14
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , System.ComponentModel.Annotations , Microsoft.Extensions.Logging.Abstractions , 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 , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Hosting.Abstractions , 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.Configuration.Xml , 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.Http , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Windows.Extensions , System.Threading.Channels , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json
From Version 5.0.0-preview.8.20361.2 -> To Version 5.0.0-rc.1.20366.14
* Update dependencies from https://github.com/dotnet/efcore build 20200717.2
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20365.2 -> To Version 5.0.0-rc.1.20367.2
* Fix ambiguous error
* simple console
* more logging
* missed one
* Skip test
* Update dependencies from https://github.com/dotnet/runtime build 20200717.23
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , System.ComponentModel.Annotations , Microsoft.Extensions.Logging.Abstractions , 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 , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Hosting.Abstractions , 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.Configuration.Xml , 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.Http , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Windows.Extensions , System.Threading.Channels , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json
From Version 5.0.0-preview.8.20361.2 -> To Version 5.0.0-rc.1.20367.23
* Remove Obsolete APIs in net5.0
* Fixup
* Apply suggestions from code review
Co-authored-by: Brennan <brecon@microsoft.com>
* Feedback
* Update dependencies from https://github.com/dotnet/runtime build 20200720.4
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , System.ComponentModel.Annotations , Microsoft.Extensions.Logging.Abstractions , 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 , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Hosting.Abstractions , 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.Configuration.Xml , 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.Http , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Windows.Extensions , System.Threading.Channels , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json
From Version 5.0.0-preview.8.20361.2 -> To Version 5.0.0-rc.1.20370.4
* Update dependencies from https://github.com/dotnet/roslyn build 20200717.11
Microsoft.Net.Compilers.Toolset
From Version 3.8.0-1.20361.1 -> To Version 3.8.0-1.20367.11
* Fixup
* Theory: Helix payload is incorrect
* Disable gRPCinterop tests
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bhargav Baaskaran <ajbaaska@microsoft.com>
Co-authored-by: BrennanConroy <brecon@microsoft.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Co-authored-by: John Luo <johluo@microsoft.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-22 01:54:09 +00:00
Pranav K
0b415b91bd
Fix Blazor WASM SDK bugs ( #24172 )
...
* Correctly calculate tasks path when running as a SDK
* Do not perform service-worker things when project does not require it
2020-07-21 16:01:29 -07:00
Doug Bunting
fb28ce3ec2
Simplify ref/ assembly generation ( #24136 )
...
* Simplify ref/ assembly generation
- followup 1/2 for 5266918ed2
- correct the Razor.Tools project
- `%(Reference.Version)` metadata does not bleed through into `@(PackageReference)` items
- much more work to do so than to add this special case
- remove `$(Razor_NewtonsoftJsonPackageVersion)`
- remove RTMVersions project and use RepoTasks instead
- make it an error if RepoTasks is not restored before anything else builds
- add items and properties for System.Security.AccessControl
nits:
- remove invalid (ignored) metadata in Directory.Build.props and AzureAppServices.SiteExtension project
- improve / extend a couple of comments
- move `@(Reference)` items together in Microsoft.AspNetCore.Razor.Tools
2020-07-21 15:21:30 -07:00
dotnet-maestro[bot]
406fe1b47d
[release/5.0-preview8] Update dependencies from dotnet/arcade ( #23979 )
...
* Update dependencies from https://github.com/dotnet/arcade build 20200714.3
Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20330.3 -> To Version 5.0.0-beta.20364.3
* Update DotNetMuxerTests.cs
- skip failing test
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-07-21 12:37:20 -07:00
David Fowler
d7bcde57d1
Added ObjectPool to the solution so I could run in VS ( #24141 )
2020-07-21 11:22:31 -07:00
John Luo
0767696bc7
Url link typo
2020-07-21 11:01:37 -07:00
John Luo
a320f30101
Add a quarantined test issue link
2020-07-21 11:01:03 -07:00
John Luo
5782872f7f
Quarantine test ( #24147 )
2020-07-21 09:52:55 -07:00
Safia Abdalla
537ab96eb2
Merge branch 'master' into merge/release/5.0-preview8-to-master
2020-07-21 01:40:02 +00:00
Brennan
c18571c820
[Java] Allow configuration of OkHttpClient.Builder ( #23822 )
...
* start
* comment
* remove ctor
* unused import
* fb
* Update src/SignalR/clients/java/signalr/src/main/java/com/microsoft/signalr/HttpHubConnectionBuilder.java
* remove unused param
2020-07-20 15:53:14 -07:00
Safia Abdalla
0a61165698
Tests, tweaks, and other follow-ups to lazy-loading ( #23947 )
...
* Render 'OnNavigateError' fragment on unhandled exception in OnNavigateAsync
* Address first round of feedback from peer review
* Refactor OnNavigateAsync handling and fix tests
* Make OnNavigateAsync cancellation cooperative with user tasks
* Fix aggressive re-rendering and cancellation handling
* Fix up tests based on peer review
2020-07-20 13:33:04 -07:00
Pranav K
e822f5f12d
Create a Blazor WebAssembly SDK ( #24044 )
2020-07-20 13:25:49 -07:00
Brennan Conroy
40383cf1f9
Merged PR 9189: Modify WebSockets ValueTaskSource
...
Create the GCHandle per operation and Free it when resetting the ValueTaskSource for re-use.
2020-07-20 19:11:17 +00:00
Kahbazi
4573f6894e
Call StartAsync in CompleteAsync ( #24058 )
2020-07-20 08:14:51 -07:00
Zachary Becknell
0889a62250
Fix #18539 - add Blazor catch-all route parameter ( #24038 )
...
* Fix #18539 - add Blazor catch-all route parameter
* Add E2E tests for catch-all parameter
* Adjust E2E test for catch-all params
* Remove ** scenarios for catch-all params
* Fix typo causing test failure
2020-07-17 17:44:24 -07:00
Doug Bunting
9f1b61e2fa
Merge pull request #24078 from dotnet-maestro-bot/merge/release/5.0-preview8-to-master
...
[automated] Merge branch 'release/5.0-preview8' => 'master'
2020-07-17 17:13:55 -07:00
Ajay Bhargav B
39859c0c18
Unquarantine some tests ( #24075 )
...
* Unquarantine some tests
* Quarantine
* Link issue
2020-07-17 23:33:19 +00:00
Doug Bunting
b1921f38bc
Merge remote-tracking branch 'origin/release/5.0-preview8' into 'master'
2020-07-17 15:03:15 -07:00
Doug Bunting
5266918ed2
Use Roslyn to create ref/ assemblies ( #23403 )
...
* Remove all ref/ projects
* Remove GenAPI infrastructure
* Remove notion of a reference assembly project
- remove `$(IsReferenceAssemblyProject)`, `$(ReferenceReferenceAssemblies)` and `$(ReferenceImplementationAssemblies)`
- remove unnecessary `$(NoWarn)` settings
nits:
- remove a few misleading comments
- wrap some long lines
* Move .0 package version workaround into Versions.props
- touch up SharedFramework.External.props
* Expose `%(LatestPackageReference.RTMVersion)` metadata
- automate use of properties in the `@(LatestPackageReference)` item group to make this maintainable
- add a couple of special cases at the bottom of eng/Dependencies.props
- add one more `$(...PackageVersion)` property to avoid yet-another special case
* Enable Roslyn reference assemblies
- exclude ref/ assembly from packages other than targeting pack
- update Microsoft.AspNetCore.App.Ref.csproj
- `%(IsReferenceAssembly)` and `%(ReferenceGrouping)` metadata no longer relevant
- only ref/ assemblies are in `@(ReferencePathWithRefAssemblies)` item group
nits:
- remove now-unnecessary workaround
- issues with TFM transition are behind us
- clean up Microsoft.AspNetCore.App.Runtime.csproj slightly
- use `GeneratePathProperty="true"`
- reorder item / property settings for meta-expansion
- correct spelling errors and phrasing in comments
* Update documentation to reflect recent changes
- remove CrossRepoBreakingChanges.md; was tied to old TeamCity infrastructure
- also much less relevant given repo merges
- adjust details and examples in ReferenceResolution.md
- reflect repo merges, Dependencies.props changes, and current Maestro++ channels
- add a few more details e.g. specific files where Version.Details.xml versions are used
* !fixup! Remove another irrelevant doc file
* !fixup! Address PR review suggestions
- convert a couple of warnings to errors
- use consistent casing for Microsoft.NETCore.App.Runtime.* packages
- reduce `%(LatestPackageReference.Version)` metadata special cases
- add and improve comments e.g.
- improve comments about `$(*V0PackageVersion)` properties
- improve placement of comments about item removal in ResolveReferences.targets
- confirmed `$(*V0PackageVersion)` property list is complete
nits:
- fix solution example in ReferenceResolution.md
- remove item group definition for `@(LatestPackageReference)`
- remove `%(LatestPackageReference.VersionName)` metadata after use; large item group
- similarly, remove `%(LatestPackageReference.RTMVersion)` when not needed; just complicates `Condition`s
When I squash, I must remember this fixes
- #14801
- dotnet/aspnetcore-internal#2693
* Actually use `%(LatestPackageReference.RTMVersion)` metadata
- gather RTM package references in a new project
- a (very) separate project to work around package conflict resolution
- empty `Test` target works around Arcade's testing approach
- new target in ResolveReferences.targets updates relevant assembly paths to use the RTM packages
- done as soon as possible after `ResolvePackageAssets` determines the paths
- done for all compilation inputs, not just ref/ assemblies
2020-07-17 13:35:17 -07:00
Jonathan
a8bc7ba612
Change btn class for delete button ( #24002 )
...
Set delete account button as a secondary action instead of a primary action.
2020-07-17 13:22:34 -07:00
Pranav K
59b94e4b92
Ensure analyzer does not appear in build and publish outputs ( #24072 )
...
Also make the analyzer actually work
2020-07-17 13:20:52 -07:00
Chris Ross (ASP.NET)
c9f75a1f41
Merged PR 9163: [3.1] Fix HttSys tests
...
The 3.1 PR builds aren't working so I missed some new test failures caused by my prior change.
https://dev.azure.com/dnceng/internal/_build/results?buildId=734369&view=ms.vss-test-web.build-test-results-tab
HttpSys has some odd behavior when you call SendFileAsync multiple times on an aborted response. The first time throws an OperationCancelledException, but the second time throws an ObjectDisposedException. This only happens if you enable HttpSysOptions.ThrowWriteExceptions and pass in a cancelled token.
472fc5058e/src/Servers/HttpSys/src/RequestProcessing/ResponseBody.cs (L577)
I'm not aware of any scenarios where SendFileAsync is called multiple times like this, so for now I'm only fixing up the tests.
2020-07-17 19:37:20 +00:00
Michael Randers-Pehrson
472fc5058e
[Blazor][ Fixes #20935 ] Adds an Environment parameter to WebAssemblyStartOptions to provide or override the Environment value set by the host
2020-07-17 08:21:37 -07:00
Jan-Willem Spuij
4b943417a7
Switched order of attribute initialization and DOM addition.
...
Fixes #6218 .
2020-07-17 12:04:35 +01:00
Stephen Lorello
ec4b2221c2
[Blazor][ Fixes #22679 ] Flow the Resource to the authorization service in AuthorizeRouteView
...
AuthorizeRouteView combines AuthorizeView and RouteView on one abstraction for convenience, but it was missing a Resource parameter to capture and flow the resource to pass on to the AuthorizationService. This PR adds a new Resource parameter and makes sure that the value is passed to the authorization service so that it is available for the authorization handlers in a policy.
2020-07-17 03:54:48 -07:00
Chris Sainty
71327921ed
Modified EditForm to return _fixedEditContext via the EditContext parameter ( #24007 )
...
* Modified EditForm to return _fixedEditContext via the EditContext parameter. Also added some tests to cover the new functionality
* Swapped to boolean to track provided EditContext
* Patched ref assembly
* Simplified setting _hasSetEditContextExplicitly
* Renamed _fixedEditContext to _editContext
* Updated null check in OnParametersSet
* Simplified check for EditContext updates based on Model changes
2020-07-16 19:06:50 -07:00
Vladimir Samoilenko
1455aaeff1
Blazor: add support for ontoggle event ( #24036 )
...
Summary of the changes
- Implemented `@ontoggle` event
- Added test component to BasicTestApp
Fix Issue: #20859
2020-07-16 18:09:06 -07:00
Pranav K
28b8a39cc8
Fix various minor spelling mistakes ( #24019 )
...
* fix various minor spelling mistakes
2020-07-16 17:24:30 -07:00
dotnet-bot
b110c810a4
Merge in 'release/3.1' changes
2020-07-16 23:51:09 +00:00
Brennan
9e635724c0
StopAsync resets state on inactive connection ( #20083 ) ( #23962 )
2020-07-16 16:46:15 -07:00
Safia Abdalla
049f421cff
Resolve type error when running JS tests locally ( #24026 )
...
* Resolve type error when running JS tests locally
* Update pre-compiled JavaScript
2020-07-16 22:20:56 +00:00
Stephen Halter
6940249de2
Handle exception thrown by ProcessName during ProcessEx timeout ( #23990 )
...
* Handle exception thrown by ProcessName during ProcessEx timeout
* Update src/Shared/Process/ProcessEx.cs
Co-authored-by: Brennan <brecon@microsoft.com>
* PR feedback
Co-authored-by: Brennan <brecon@microsoft.com>
2020-07-16 22:13:24 +00:00
Haytam Zanid
5bc2c49ed5
Add DisplayName to inputs ( #24029 )
...
Add a `DisplayName` parameter to `InputBase`, which is used in validation messages instead of `FieldIdentifier.FieldName`.
- This works for `InputDate`, `InputNumber` and `InputSelect`.
- Extracted some shared code, just like what @StephanZahariev did in his PR.
Addresses #11414
2020-07-16 15:08:09 -07:00
Chris Ross (ASP.NET)
07b8318db0
Merged PR 9042: [3.1] Pass RequestAborted to SendFileAsync
...
This is the 3.1 version of https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/pullrequest/9014 .
The concerns in 3.1 are slightly different than prior versions due to a significant redesign in how the response body was handled.
In 2.1 very few components implemented IHttpSendFileFeature, and most of those that did would eagerly terminate if the request aborted (e.g. HttpSys server). We mainly had to be concerned about the fallback code that did a copy loop when IHttpSendFileFeature wasn't available.
In 3.x the response body Stream, PipeWriter, and SendFileAsync were consolidated onto the new IHttpResponseBodyFeature. Now all servers and component shims support all three ways to send data and we can't make any assumptions about how eagerly they terminate. E.g. many components implemented SendFileAsync using a fallback copy loop, and these components don't have access to RequestAborted to eagerly terminate. This means that in 3.1 we need to pass the RequestAborted token when calling IHttpSendFileFeature.SendFileAsync, as well as any copy loops that have access to the token.
I've primarily fixed the HttpResponse.SendFileAsync extension methods and made sure the other affected components call through here.
[Infrastructure side note]
This commit needs to be rebased on internal/release/3.1 before merging. That branch can't be built locally so I developed this fix based on release/3.1 instead.
2020-07-16 21:37:46 +00:00
Adrian Wright
b459a7e333
Merge branch 'master' of https://github.com/adrianwright109/aspnetcore
2020-07-16 22:24:17 +01:00
Adrian Wright
5b10c2d1fa
undo changes to submodule
2020-07-16 22:23:55 +01:00
Adrian Wright
615e70bf84
Update src/Components/Components/test/ParameterViewTest.Assignment.cs
...
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-07-16 20:30:10 +01:00
Stephen Halter
30c33aad11
Quarantine flaky tests ( #23995 )
2020-07-16 11:47:47 -07:00
Zachary Becknell
1d658ab488
Blazor: Add empty InvokeAsync() overload for EventCallback ( #24021 )
...
Adds an empty InvokeAsync() overload for both EventCallback and EventCallbackOfT.
Updated tests to simply use this new overload instead of InvokeAsync(null).
Addresses #23603 .
2020-07-16 11:31:15 -07:00
Josh Dadak
b8261dfe9d
Return null in getCacheToUseIfEnabled when the protocol is not https ( #24012 )
...
Addresses #23082
If served over http the cache is assumed compromised, this can happen when the page first loads over http before the https redirect.
2020-07-16 10:59:39 -07:00
Adrian Wright
2c66f9ee64
fix various minor spelling mistakes
2020-07-16 17:21:30 +01:00
Kahbazi
cf77999a3b
Dispost CancellationTokenSource in WebHostExtensions ( #23969 )
2020-07-16 08:16:39 -07:00
Michael Randers-Pehrson
cee763b189
[Blazor][ Fixes #22895 ] Page header can be covered by other elements when there is a lot of content on the page ( #24005 )
...
Adds z-index to top-row to avoid the header being covered by other elements
2020-07-16 07:44:16 -07:00
github-actions[bot]
410eb6db53
Sync shared code from runtime ( #24000 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-16 06:57:05 -07:00
Javier Calvarro Nelson
763ccb21b5
[Blazor] Async disposable support for Blazor ( #23813 )
...
* [Blazor] Support IAsyncDisposable in components
* Handles async disposal of components within the Blazor pipeline.
* Renders remain synchronous and don't wait for disposal to complete.
* Synchronous disposal executions remain inlined.
* Async disposal executions can trigger renders in different batches.
* Async disposals are handled individually and not grouped based on the batch they were generated on.
2020-07-16 04:21:56 -07:00
Eric Erhardt
427bfc8d6b
Default new runtime feature switches ( #23932 ) ( #23987 )
...
* Default new runtime feature switches
These new feature switches have been added to the runtime to make applications smaller. Setting reasonable defaults to Blazor wasm projects.
Fix #23716
* PR feedback
2020-07-15 21:48:12 -07:00
Stephen Halter
7f4af095f7
Add timeout to all awaits in GlobbingAppTests ( #23938 )
2020-07-15 18:52:37 -07:00
Eric Erhardt
7b42cf1275
Default new runtime feature switches ( #23932 )
...
* Default new runtime feature switches
These new feature switches have been added to the runtime to make applications smaller. Setting reasonable defaults to Blazor wasm projects.
Fix #23716
* PR feedback
2020-07-16 01:19:07 +00:00
John Luo
028cb6b108
Remove duplicate test added automatically by merge
2020-07-15 01:01:04 -07:00
John Luo
a494961c3b
Merge branch 'master' into merge/release/3.1-to-master
2020-07-15 00:29:31 -07:00
Safia Abdalla
303a9bfe33
Spruce up async handling in OnNavigateAsync callback in Blazor router ( #23835 )
...
* Spruce up async handling in OnNavigateAsync
* Apply suggestions from code review
Co-authored-by: Günther Foidl <gue@korporal.at>
* Ensure previous task awaited before starting next one
* Apply suggestions from code review
Co-authored-by: Pranav K <prkrishn@hotmail.com>
* Validate no exceptions throw on multiple invocations
* Address feedback from peer review
Co-authored-by: Günther Foidl <gue@korporal.at>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-15 04:20:08 +00:00
Sean G. Wright
d05427580b
Update MiddlewareFilterBuilder.cs ( #23793 )
...
Comment grammar typo for _pipelinesCache
2020-07-14 17:29:49 -07:00
John Luo
d101de8d1c
Add sharedfx and targeting pack tests ( #23045 ) ( #23070 )
...
* Add sharedfx and targeting pack tests (#23045 )
* Add test for assembly versions
* Add test for framework list
* Add some hardcoded lists for sharedfx and targeting pack content
* Fix failing tests
* Fix targeting pack tests
* Feedback
2020-07-14 17:17:04 -07:00
John Luo
d45e6b25f4
Fix AzureAd options validation ( #23096 )
2020-07-14 17:15:12 -07:00
Kahbazi
9d7c3aff96
[Mvc] Adds SignIn and SignOut method overloads without authentication scheme to ControllerBase ( #23604 )
2020-07-14 10:58:13 -07:00
Brennan
f0bb1315cc
Quarantine Publish_WithoutLinkerAndCompression_UpdatesFilesWhenSourcesChange ( #23900 )
2020-07-13 18:18:25 -07:00
Brennan
506a856d47
Unquarantine passing tests ( #23915 )
2020-07-13 16:27:00 -07:00
Pranav K
69ec50bfd8
Increase test timeouts ( #23868 )
2020-07-13 21:58:54 +00:00
dotnet-maestro[bot]
8ed59a4e82
[master] Update dependencies from dotnet/efcore dotnet/runtime dotnet/roslyn ( #23805 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200708.9
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , 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.Internal.Transport , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting , 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.Hosting.Abstractions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.Configuration.Xml , 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.Configuration.Json , 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.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.Security.Permissions , System.Security.Cryptography.Xml , System.Security.Cryptography.Pkcs , 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
From Version 5.0.0-preview.8.20357.14 -> To Version 5.0.0-preview.8.20358.9
* Update dependencies from https://github.com/dotnet/efcore build 20200709.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20359.1
* Update eng/Version.Details.xml
* Update eng/Version.Details.xml
* Update dependencies from https://github.com/dotnet/efcore build 20200709.2
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20359.2
* Update dependencies from https://github.com/dotnet/efcore build 20200710.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20360.1
* Update dependencies from https://github.com/dotnet/runtime build 20200710.2
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , System.ComponentModel.Annotations , 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.Configuration , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Internal.Transport , 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.Configuration.Xml , 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.Http , Microsoft.Extensions.Logging , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Net.WebSockets.WebSocketProtocol , System.Net.Http.WinHttpHandler , System.Windows.Extensions , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels
From Version 5.0.0-preview.8.20357.14 -> To Version 5.0.0-preview.8.20360.2
* Update dependencies from https://github.com/dotnet/efcore build 20200710.4
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20360.4
* Update dependencies from https://github.com/dotnet/efcore build 20200710.8
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.8.20358.5 -> To Version 5.0.0-preview.8.20360.8
* Update dependencies from https://github.com/dotnet/runtime build 20200711.2
System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , System.IO.Pipelines , System.ComponentModel.Annotations , 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.Configuration , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Internal.Transport , 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.Configuration.Xml , 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.Http , Microsoft.Extensions.Logging , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Windows.Extensions , System.Threading.Channels , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json
From Version 5.0.0-preview.8.20357.14 -> To Version 5.0.0-preview.8.20361.2
* Update dependencies from https://github.com/dotnet/roslyn build 20200711.1
Microsoft.Net.Compilers.Toolset
From Version 3.8.0-1.20353.1 -> To Version 3.8.0-1.20361.1
* Update CompareAttribute test
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-13 17:27:14 +00:00
Steve Sanderson
90b697f92e
Razor compiler emit CSS scope attributes ( #23703 )
2020-07-13 17:27:27 +01:00
Hao Kung
fae3dd12ae
Switch to new host apis ( #23783 )
...
* Update tests
* Switch to new host apis
* Update host apis
* Update CookieTests.cs
* Update tests
* PR feedback/cleanup
* More cleanup
2020-07-11 00:56:18 +00:00
github-actions[bot]
241e45d2b9
Sync shared code from runtime ( #23853 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-11 00:45:53 +00:00
Brennan
dbfdc5c87b
Update StaticWebAssetsIntegrationTest.cs ( #23859 )
2020-07-10 15:34:26 -07:00
Brennan
aee40dbd36
Quarantine flaky Watch tests ( #23855 )
2020-07-10 15:34:10 -07:00
Brennan
c243bee67a
Quarantine flaky Components tests ( #23857 )
2020-07-10 13:25:40 -07:00
msftbot[bot]
083f81d760
Merge pull request #23852 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-07-10 17:19:57 +00:00
Doug Bunting
59433bcadd
Move to latest NuGet.exe ( #23786 )
...
* Move to latest NuGet.exe
- 5.3.0 -> 5.6.0
- should improve performance and may improve reliability
* Also switch from NuGet.Build.Tasks to NuGet.Packaging
- move to 5.6.0 version here too
- reduce transitive dependencies; we don't need them all
2020-07-10 10:15:45 -07:00
Ryan Brandenburg
917078ddb7
Merge pull request #21928 from Kahbazi/patch-15
...
Remove Obsolete constructor in RequestLocalizationMiddleware
2020-07-10 09:43:03 -07:00
github-actions[bot]
c45e0d707d
Sync shared code from runtime ( #23843 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-10 09:40:47 -07:00
Pranav K
90a4707de0
Ensure DevServer has the AspNetCore.App runtime in runtimeconfig.json ( #23814 )
2020-07-10 09:03:24 -07:00
Vasilev Pyotr
5d170de769
Add support custom client hub method name ( #23614 )
2020-07-09 17:58:47 -07:00
Mackinnon Buck
3192da4443
Protected Browser Storage ( #23553 )
...
* Migrated protected browser storage.
* Added E2E tests.
* Added safeguard against using ProtectedBrowserStorage in wasm.
* Added TryGetValue.
* Added Microsoft.AspNetCore.Components.Web.Extensions
* Minor cleanup
* Moved ProtectedBrowserStorage out of Web.JS.
* Delete Microsoft.AspNetCore.Components.Web.Extensions.netcoreapp.cs
* Updated ProjectReferences.props
* Improvements and cleanup.
* Update Microsoft.AspNetCore.Components.Web.Extensions.csproj
* Added Web.Extensions to the VS solution.
2020-07-09 17:10:10 -07:00
John Luo
2440c05c2b
Skip gRPC template test on Windows 8.1 ( #23828 )
2020-07-10 00:09:15 +00:00
Ryan Brandenburg
b501f13fb3
Quarantine a flaky test ( #23827 )
2020-07-09 23:44:29 +00:00
Youssef Victor
32b8ad6dce
Add missing comma to xml documentation ( #23634 )
2020-07-09 16:02:11 -07:00
Ryan Brandenburg
a5901c084a
Include Assets in helix builds ( #23784 )
...
* Include Assets in helix builds
* Fix IdentityUI test
2020-07-09 13:47:51 -07:00
Javier Calvarro Nelson
0c5c1771ef
[Https] Export the certificate in PEM format too ( #23803 )
...
* Changed `--key-format` to `--format`.
* Changed the format of the certificate to PEM when `--format pem` is indicated.
2020-07-09 10:04:12 -07:00
github-actions[bot]
eac4925653
Sync shared code from runtime ( #23796 )
2020-07-09 08:24:42 -07:00
Steve Sanderson
6cb575216f
Cache JS->.NET string decoding results within a single renderbatch ( #23773 )
2020-07-09 14:40:37 +01:00
Kahbazi
906d5e3db0
Update reference assemblies
2020-07-09 12:02:44 +04:30
Kahbazi
d16d426efd
Remove Obsolete constructor in RequestLocalizationMiddleware
2020-07-09 12:01:29 +04:30
Brennan
c202344d27
[Java] Test accessTokenProvider usage ( #23751 )
2020-07-08 19:18:25 -07:00
Safia Abdalla
bbc116254a
Add framework support for lazy-loading assemblies on route change ( #23290 )
...
* Add framework support for lazy-loading assemblies on route change
* Configure lazy-loaded assemblies in WebAssemblyLazyLoadDefinition
* Move tests to WebAssembly-only scenarios
* Refactor RouteTableFactory and add WebAssemblyDynamicResourceLoader
* Address feedback from peer review
* Rename 'dynamicAssembly' to 'lazyAssembly' and address peer review
* Add sample with loading state
* Update Router API and assembly loading tests
* Support and test cancellation and pre-rendering
* Apply suggestions from code review
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
* Spurce up API and add tests for pre-rendering scenario
* Use CT instead of CTS in NavigationContext
* Address feedback from peer review
* Remove extra test file and update Router
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-07-08 18:16:47 -07:00
Kevin Pilch
3117f43c33
Migrate to single sln file + slnf files ( #23581 )
2020-07-08 15:27:22 -07:00
Kevin Pilch
1da13e6501
Enable FxCop Analyzers for the repo ( #23709 )
...
All rules are currently disabled, except for one that I enabled for
src/Http via a new ".editorconfig" file I added there.
Other changes:
* Allow editorconfigs in MVC and Razor to flow to the root
* Consolidate a few editorconfig settings
* Tweak Ruleset config in Azure/AzureAD where it clashed.
Addresses the beginning of #9620 , but it's a fair chunk of work to
enable most rules through the whole repo. That can be done directory by
directory and rule by rule by dropping .editorconfig files though.
2020-07-08 15:26:22 -07:00
Steve Gordon
f83ce075ca
Fix summary comment ( #23702 )
...
It seems like this should say "locked out", rather than "logged out".
2020-07-08 21:13:11 +00:00
Pranav K
763a18ee56
Avoid running restores for dotnet-watch run ( #23421 )
...
* Tweaks to make dotnet-watch run faster
* Previously dotnet-watch calculated the watch file list on every run by invoking MSBuild. This
changes the tool to only calculate it if an MSBuild file (.targets, .props, .csproj etc) file changed
* For dotnet watch run and dotnet watch test command, use --no-restore if changed file is not an MSBuild file.
* Add opt-out switch
* Update src/Tools/dotnet-watch/README.md
* Fixup typo
* Update src/Tools/dotnet-watch/README.md
2020-07-08 18:56:25 +00:00
Martin Costello
769fc6d289
Cache Entries' Count for loops ( #23707 )
...
Cache the value of Entries.Count into a local when enumerating loops, rather than re-evaluating on each pass.
2020-07-08 09:40:49 -07:00
Steve Sanderson
1bccebd22a
Fix razor whitespace removal in methods ( #23699 )
2020-07-08 12:43:09 +01:00
Steve Sanderson
c5ba43f011
CSS isolation rewriter tool ( #23657 )
2020-07-08 12:42:22 +01:00
Chris Sainty
b8c5193562
[Blazor][Wasm] Expose login mode option for AAD and AAD B2C Authentication ( #23694 )
...
* Adds a login mode option via MSAL provider options and updates the AuthenticationService.ts to use the new setting
2020-07-08 04:26:33 -07:00
Huei Feng
37a4457150
Update `StaticWebAssetsFileProvider NormalizePath` ( #22418 )
...
Skips an unnecessary null check.
2020-07-08 01:58:39 -07:00
Doug Bunting
16be480616
Quarantine tests and bump Helix timeouts ( #23762 )
...
- see #23756 and #23757 for more info on quarantined tests
- see #23760 for more info on Helix timeouts
2020-07-07 19:56:30 -07:00
Brennan
d0ab959c89
TestServer registers NoopHostLifetime to avoid hangs from not disposing ( #23761 )
2020-07-07 19:50:31 -07:00
James Newton-King
3709eda270
Fix HTTP/2 stream output flow control abort error ( #23727 )
...
* Fix stream output flow control abort error
* Clean up
* Clean up
* Add timeouts
2020-07-08 01:41:23 +00:00
Eric Erhardt
cc3c1d0e74
Remove unnecessary entries in LinkerWorkaround for WASM. ( #23747 )
...
* The underlying Json issue is fixed.
* The X509 issue is not an issue when TrimMode is set to link (which is it now by default).
Contributes to #23262
2020-07-08 01:00:21 +00:00
Brennan
f1dd68f1bd
[Middleware] Move to GenericHost ( #23626 )
2020-07-07 17:32:35 -07:00
Pranav K
93634cd772
Follow ups for nullable ( #23736 )
...
* Follow ups for nullable
* Update src/Http/Routing/src/Matching/DfaMatcherBuilder.cs
Co-authored-by: James Newton-King <james@newtonking.com>
Co-authored-by: James Newton-King <james@newtonking.com>
2020-07-07 21:46:50 +00:00
Hao Kung
380a5679bb
Remove bootstrap v3 ( #23547 )
2020-07-07 11:40:30 -07:00
Steve Sanderson
0ec15ea01d
CR: Add ctor overload accepting IComponentActivator
2020-07-07 19:27:21 +01:00
Steve Sanderson
9e365f4356
CR: Make DefaultComponentActivator internal
2020-07-07 19:27:21 +01:00
Steve Sanderson
53588b45dc
Updates to IComponentActivator PR
2020-07-07 19:27:21 +01:00
Mladen Macanović
dae55edfec
Add IComponentActivator
2020-07-07 19:27:21 +01:00
Javier Calvarro Nelson
156023d3f9
[HTTPS] Support exporting the dev-cert in PEM format and support importing an existing dev-cert in PFX ( #23567 )
...
* Support exporting the certificate key into PEM format
* Support importing an existing https dev certificate into the certificate store
2020-07-07 08:26:08 -07:00
Martin Costello
54bd692c78
Use TryGetValue() in TokenExtensions ( #23708 )
2020-07-06 22:27:59 -07:00
Pranav K
8750cd1038
Nullable followup for Routing ( #23474 )
...
* Nullable followup for routing.
* Update nullability based on usage
* Use nullable enable in a few files
* More nullable
2020-07-07 03:24:20 +00:00
Martin Costello
fd1f1c3559
Use preferred overloads of string.Split() ( #23712 )
...
* Use preferred overloads of string.Split
* Revert TrimEntries for netstandard2.0
Revert usage of StringSplit.TrimEntries for projects that target netstandard2.0.
Co-authored-by: Levi Broderick <levib@microsoft.com>
2020-07-06 16:49:38 -07:00
msftbot[bot]
a738d1ccfb
Merge pull request #23717 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-07-06 23:41:07 +00:00
Tanay Parikh
1c2a0f4fe6
Add Razor TagHelper Parsing Benchmarks ( #23627 )
...
* Add Razor TagHelper Parsing Benchmarks
Benchmarks:
| Method | Mean | Error | StdDev | Op/s | Allocated |
|---------------------------------------- |------------:|----------:|----------:|---------:|----------:|
| 'TagHelper Design Time Processing' | 2,331.51 us | 28.916 us | 27.048 us | 428.9 | 985.33 KB |
| 'TagHelper Component Directive Parsing' | 90.46 us | 0.472 us | 0.394 us | 11,055.1 | 3.01 KB |
Notes / Attributions:
- `BlazorServerTagHelpers` is just a demo file concatonated from the basic `BlazorServer` files
- `taghelpers.json` was updated from: 73c96f1c00/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Performance/taghelpers.json
- `ReadTagHelpers` was copied over from fef50ba623/src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Performance/ProjectSystem/ProjectSnapshotManagerBenchmarkBase.cs (L83-L93)
Fixes: https://github.com/dotnet/aspnetcore/issues/23454
2020-07-06 16:32:12 -07:00
Ajay Bhargav B
7412976b4c
Update Roslyn package versions ( #23630 )
...
* Update Roslyn package versions
* Fixes
* Fix analyzer warnings
* Fix root cause for analyzer warnings
* Fixed RuntimeCompilation test
* Add back nowarns
2020-07-06 14:35:10 -07:00
N. Taylor Mullen
17b01ae667
Fix PoliCheck issues
...
Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1151846
Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1151847
2020-07-06 13:02:45 -07:00
Kahbazi
5a375a7c22
Add Extensions method for options ( #23602 )
2020-07-06 11:54:44 -07:00
Martin Costello
bbb695fe16
Minor code refactoring to TestHost library ( #23692 )
...
* Make fields readonly
Make a number of fields that aren't changed readonly.
* Use range to trim string
Use a range to trim the last character of the paths.
* Use nameof()
Use nameof() for exceptions rather than literals.
* Use Task.CompletedTask
Use Task.CompletedTask instead of Task.FromResult().
* Use Array.Empty()
Use Array.Empty() instead of allocating an empty array.
* Remove unused parameter
Remove unused CancellationToken parameter.
* Fix compilation error
Fix compilation error.
* Apply suggestions from code review
Add comment explaining range syntax.
2020-07-06 11:52:53 -07:00
Stephen Halter
0bc8ad7e6e
Change HttpRequest/ResponseJsonExtensions namespace ( #23496 )
2020-07-06 11:28:57 -07:00
Martin Costello
a97746b72b
Remove used-once field ( #23693 )
...
Remove a field that's only used in one place, and just pass the char directly to string.Join() on use.
2020-07-06 10:32:15 -07:00
Pranav K
4b796c7bad
Quarantine components tests ( #23644 )
2020-07-06 10:30:10 -07:00
Brennan
f6bc908a32
Write default values by default in Json ( #23542 )
2020-07-06 10:08:55 -07:00
Stephen Halter
a57a80fcfb
Fix ContentLengthReadAsyncSingleBytesAtATime ( #23641 )
2020-07-06 09:48:07 -07:00
Martin Costello
afbf3fdf6a
Remove unused code ( #23691 )
...
Remove an unused private method and an unused local variable.
2020-07-06 08:51:25 -07:00
Pranav K
80de1e7588
Quarantine test ( #23636 )
2020-07-06 15:49:33 +00:00
Javier Calvarro Nelson
9d3bf572b3
[HTTPS] Adds PEM support for Kestrel ( #23584 )
...
* Adds support for loading PEM certificates and keys in Kestrel.
* You can load PEM Certificate + PKCS8 encoded PEM Keys.
* Certificates in DER format + PKCS8 encoded PEM Keys.
* Supported key types are:
* RSA
* ECSA
* DSA
2020-07-06 06:48:46 -07:00
Pranav K
de034feb98
Merge branch 'master' into merge/release/5.0-preview7-to-master
2020-07-05 20:54:56 -07:00
Martin Costello
4b3fcaf769
Use new string.Split() overloads ( #23683 )
2020-07-05 13:16:15 -07:00
Martin Costello
3d5c8ed114
Use Array.Empty in WebEncoders ( #23677 )
2020-07-05 13:11:36 -07:00
Chris Ross
df5269fea2
React to regression in Http.Sys ( #23590 )
...
* React to regression in Http.Sys #23164
* Add granular version check
2020-07-04 17:12:19 +00:00
Pranav K
499a3bcdc1
Add support for gzip compression during build and publish ( #23611 )
...
* Add support for gzip compression during build and publish
3.2 shipped with gzip compression during build and publish. During the port to 5.0, the build and publish
pipeline was different and ended up only during brotli compression during publish. However, during build
the app size is now up to 20MB. Statically compressing runtime assets during build reduces the payload size
to about 8.5 MB. This should help with faster initial boot ups and perception.
* Quarantine test
* More quarantine
2020-07-03 17:20:17 -07:00
Pranav K
1ed72f8f5f
Merge pull request #23631 from dotnet/prkrishn/merge-p7
...
Merge branch 'release/5.0-preview7' => 'master'
2020-07-03 15:03:38 -07:00
Pranav K
035ab19f31
Update PlatformInfo.cs ( #23647 )
...
* Update PlatformInfo.cs
* Simplify ComponentsProfiling initialization
2020-07-03 07:40:17 -07:00
Chris Ross
8182bb16a9
Disable cookie name encoding/decoding. ( #23579 )
2020-07-02 16:20:55 -07:00
Pranav K
c67ecd2cf0
Quarantine test
2020-07-02 15:26:28 -07:00
Brennan
aedcfbd5c0
Update RequestTests.cs ( #23629 )
2020-07-02 20:23:40 +00:00
Mackinnon Buck
a729c4230e
InputRadio component with form support ( #23415 )
...
* Started on InputRadio forms component.
* Added E2E test for InputRadio.
* Added docstring for InputRadio.
* Changed value to be serialized using BindConverter.
* Added InputChoice for choice-based inputs.
InputChoice contains checks for valid choice types that used to exist in InputSelect. Both InputSelect and InputRadio now derive from InputChoice and thus also contain those checks.
* Added InputRadioGroup.
* Small fix.
* Removed InputChoice, cleaned up.
* Added internal access modifier to InputExtensions.
* Small improvements.
* Updated an outdated exception message.
* Updated test to reflect updated exception message.
* Improved API to enforce InputRadioGroup.
* Added support for InputSelect int and Guid bindings.
* Changed validation CSS classes to influence InputRadio components.
2020-07-02 11:48:34 -07:00
Pranav K
9a4e6cf97c
Merge remote-tracking branch 'origin/release/5.0-preview7'
2020-07-02 11:42:14 -07:00
Pranav K
b7d9e8cfea
FIxup2 ( #23618 )
2020-07-02 17:29:26 +00:00
Pranav K
dcd32c0d14
Quarantine tests ( #23598 )
...
* Quarantine tests
* Quarantine shutdowntest
2020-07-02 16:22:56 +00:00
Phillip Carter
a722c4cd7a
Add F# worker service template ( #22042 )
2020-07-01 22:51:45 +00:00
Steve Sanderson
2cbc7a44cf
Use hasOwnProperty in a more robust way in JS interop. Fixes #23448 ( #23573 )
...
* Use hasOwnProperty in a more robust way in JS interop. Fixes #23448
* Update JS
2020-07-01 22:59:34 +01:00
James Newton-King
01de355289
Don't set StatusCode in WriteAsJsonAsync ( #23583 )
2020-07-02 09:48:05 +12:00
dotnet-maestro[bot]
a4dd539b40
[master] Update dependencies from dotnet/runtime ( #23563 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200630.14
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , 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.Internal.Transport , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting , 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.Hosting.Abstractions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.Configuration.Xml , 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.Configuration.Json , 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.Security.Principal.Windows , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.Security.Permissions , System.Security.Cryptography.Xml , System.Security.Cryptography.Pkcs , 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
From Version 5.0.0-preview.8.20328.6 -> To Version 5.0.0-preview.8.20330.14
* React to obsoletion
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-07-01 15:57:26 +00:00
Pranav K
dc4670e8d5
Merge pull request #23427 from dotnet-maestro-bot/merge/release/5.0-preview7-to-master
...
[automated] Merge branch 'release/5.0-preview7' => 'master'
2020-07-01 07:27:53 -07:00
Steve Sanderson
3cbe02f2fc
Blazor WebAssembly internal profiling infrastructure ( #23510 )
2020-07-01 11:28:13 +01:00
Tibor Tóth
1688b5a30b
ClientCollection builder methods returns with client ( #13437 )
2020-07-01 00:00:26 -07:00
Pranav K
8768cab874
Use linker extensibility to enable better trimming ( #23512 )
...
* Use linker extensibility to enable better trimming
* Configure TrimmerDefaults=link if unspecified
* Allow Microsoft.AspNetCore.* and Microsoft.Extensions.* packages to be trimmed.
* Make producing the trimmer root descriptor more incremental
2020-06-30 20:39:58 -07:00
Hans Bakker
5db89514e8
Allow extensibility of DefaultAuthorizationService ( #23143 )
...
* Allow extensibility of DefaultAuthorizationService
When only a small behavior change of the `DefaultAuthorizationService` is wanted, it would be nice if you could override its methods and building upon them rather than having a copy-paste of the class in your codebase.
Inside the `override` methods in your inherited class you could call the `base` method to reuse parts of its logic.
Please refer to https://github.com/dotnet/aspnetcore/issues/23094 for the usecase.
* updated ref assembly
2020-06-30 17:06:00 -07:00
Chris Ross
c78a4dd63f
Quarantine ServerReset_BeforeRequestBody_ClientBodyThrows ( #23541 )
2020-06-30 23:33:42 +00:00
Filip Staffa
e1d4728d90
Fix HeaderSegmentCollection failing when header value has a trailing space ( #23159 )
...
Co-authored-by: Filip Staffa <git@filipstaffa.net>
2020-06-30 15:05:54 -07:00
Pranav K
71e388eab7
Unquaratine blazor template tests ( #23521 )
...
* Ensure BlazorWebAssembly.js is present
* Unquaratine blazor template tests
* The failure issue https://github.com/dotnet/aspnetcore/issues/20479 was resolved, but the assembly level quarantine was
missed being removed.
* Use shorter project file names to avoid long path issues.
* Update blazorwasm template tests to react to net5 updates
* Update src/ProjectTemplates/Shared/ProjectFactoryFixture.cs
2020-06-30 21:58:54 +00:00
John Luo
c4eaad5df5
Fix TLS test ( #23489 )
2020-06-30 14:46:21 -07:00
Kahbazi
71fef28e47
Remove user id from logs in order to comply GDPR ( #17491 )
2020-06-30 13:27:53 -07:00
Ajay Bhargav B
7f4b846e9f
Made the encodings of .razor and .cshtml files in the repo consistent ( #23502 )
...
* Added UTF8 BOMs to .razor and .cshtml files
* Fixes and unquarantined BOM tests
* Update .editorconfig
2020-06-30 12:03:01 -07:00
Pranav K
3fe6b07412
Ensure BlazorWebAssembly.js is present ( #23518 )
2020-06-30 11:38:20 -07:00
kapsiR
408b1ac443
Add autocomplete attributes to Identity UI ( #14953 )
...
* Add autocomplete attributes to Identity UI V3
* Add autocomplete attributes to Identity UI V4
2020-06-30 09:21:33 -07:00
Steve Sanderson
eb76931578
Strip insignificant whitespace at compile time ( #23385 )
...
* Define @preservewhitespace directive attribute
* Have ComponentWhitespacePass respect preservewhitespace option
* Tests for overriding the preservewhitespace option (and fix implementation)
* Begin adding test infrastucture for ComponentWhitespacePass
* Remove leading/trailing whitespace from markup elements recursively
* Update baselines
* Add test showing we don't remove whitespace between sibling elements
* Remove whitespace before/after C# code statements (not expressions)
* Update baselines
* Slight improvements to test
* Remove leading/trailing whitespace inside component child content
* Update baselines
* Fix Razor tests
* Fix MVC test
* Better fix for MVC test
* CR: Make ComponentPreserveWhitespaceDirective conditional on langversion >= 5.0
2020-06-30 07:49:28 -07:00
Pranav K
4a93863b8d
Fix the blazorwasm benchmark app ( #23498 )
...
Specifying the RID and PublishDir when publishing the driver app causes all sorts of
build issues. This change moves specifying the RID in to the driver app and ensures PublishDir
does not flow to the referenced RazorSDK project.
* Fix docker build
* Update readme typos
2020-06-30 06:31:41 -07:00
Pranav K
7da6931209
Revert "Undo use of pipewriter in FileBufferingWriteStream ( #21833 )" ( #23391 )
...
This reverts commit 48261fdada .
2020-06-30 06:22:33 -07:00
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
Pranav K
b93db41b5e
Merge branch 'master' into merge/release/5.0-preview7-to-master
2020-06-29 13:29:53 -07:00
Chris Ross
e906c2067b
Quarantine Publish_HostedApp_WithSatelliteAssemblies ( #23479 )
2020-06-29 19:34:09 +00:00
Pranav K
126f14dbd2
Component package updates ( #23371 )
...
* Stop cross-compiling Component packages
* Remove Microsoft.JSInterop reference from M.A.Components
* Update RCL template
Fixes https://github.com/dotnet/aspnetcore/issues/23124
Fixes https://github.com/dotnet/aspnetcore/issues/23351
2020-06-29 11:36:59 -07: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
Stephen Halter
b446ab7c6f
Add custom request header decoder API to Kestrel ( #23233 )
2020-06-26 19:49:35 -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
Pranav K
23a3e845e5
Add RazorLangVersion 5.0 ( #23408 )
...
* Add RazorLangVersion 5.0
* Fixup more tests. Add a test for 3.1
2020-06-26 17:49:29 -07: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
Sourabh Shirhatti
c97a0020d8
Use implicit logging scope for Activity ( #22376 )
...
* Revert "Hoist activity fields to the logging scope (#11211 )"
This reverts commit f7a2d3c26c .
* Remove tests with Activity
* Remove ActivityId from HostingLogScope
* Enable propogation in CreateDefaultBuilder
* Clean up
* s/logging/loggingBuilder
* Enable Activity propogation for generichost
* Replace with runtime/pull/37892
2020-06-22 10:12:22 -07:00
Steve Sanderson
36be16b640
Fix binding <select> to a null value ( #23221 )
2020-06-22 17:27:02 +01:00
Artak
adbedd2cfb
Render aria-invalid if the state is invalid ( #23131 )
...
* Render aria-invalid if the state is invalid
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-06-21 21:43:29 -07:00
Hao Kung
8541bf6c98
Flow endpoint and httpcontext always from authz middleware ( #22672 )
2020-06-19 18:14:47 -07:00
Chris Ross
4d7a79ad64
Change HttpSys default client cert mode to Allow Cert #14840 ( #23162 )
2020-06-19 16:34:56 -07:00