Pranav K
b93db41b5e
Merge branch 'master' into merge/release/5.0-preview7-to-master
2020-06-29 13:29:53 -07: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
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
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
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
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
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
Safia Abdalla
4465a8efc8
Disconnect circuit on `beforeunload` event ( #23224 )
2020-06-24 11:35:28 -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
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
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
Pranav K
724c2e75a7
Add nullable annotations to Microsoft.AspNetCore.Components ( #22944 )
...
* Add nullable for Microsoft.AspNetCore.Components
Contributes to https://github.com/dotnet/aspnetcore/issues/5680
* Fixup
2020-06-19 18:38:37 +00:00
Safia Abdalla
52de5ee4df
Fix up rendering for select elements with options component ( #22978 )
...
* Fix up rendering for select elements with options component
* Commit updated compiled JS
* Update test case with more scenarios
2020-06-19 08:43:05 -07:00
Safia Abdalla
a173be28fb
Add support for <BlazorWebAssemblyLazyLoad /> item group ( #23071 )
...
* Add support for <BlazorLazyLoad /> item group
* Respond to feedback from peer review
2020-06-18 16:05:34 -07:00
Doug Bunting
214df1c8ef
Merge pull request #22902 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-18 12:24:36 -07:00
Justin Kotalik
cbb8c6d915
Update FormsTest.cs
2020-06-18 09:48:40 -07:00
Doug Bunting
c4c6e25a06
Add missing doc files and cleanup nits ( #22931 )
...
* nit: Remove useless `$(HasReferenceAssembly)` settings
- set in /Directory.Build.targets
- `true` only in `$(IsAspNetCoreApp)` projects
* nit: Remove useless `$(CompileUsingReferenceAssemblies)` settings
- no current versioning differences between ref/ and src/ assemblies when targeting default TFM
* Add more `$(GenerateDocumentationFile)` settings
- increases the number of generated doc files, mostly without problems
- !fixup! correct typo in `DebugProxyHost` doc comments
- was not generating a doc file before
- remove previous (ineffective) src/Components/Directory.Build.targets setting
- nit: remove a duplicate `$(GenerateDocumentationFile)` setting
* nit: Remove useless `$(IsPackable)` settings
- only analyzers and implementation projects are packable by default
- main use case for explicit setting is projects shipping only in shared framework
- conditional setting in src/Mvc/Directory.Build.props just subset logic in /Directory.Build.targets
* nit: Remove useless `$(IsProjectReferenceProvider)` settings
- only implementation projects are providers by default
* nit: Remove useless `$(IsTestAssetProject)` settings
- set in src/Mvc/test/WebSites/Directory.Build.props
* !fixup! Looks like `InProcessNewShimWebSite` must compile w/o ref/ assemblies
- restore `$(CompileUsingReferenceAssemblies)` in this one project
2020-06-17 13:04:45 -07:00
Artak
2434047663
Quarantined tests which were not running (skipped on Helix) ( #23023 )
2020-06-17 04:22:17 +00:00
Safia Abdalla
ac0b0ee063
Quarantine failing E2E circuit test ( #23016 )
2020-06-16 22:01:40 +00:00
Pavel Voronin
dc3398ca59
Fix xmldoc typo ( #22938 )
...
Just removed 'for' in
> Adds middleware _for_ needed for debugging Blazor WebAssembly applications
2020-06-15 13:19:23 -07:00
Justin Kotalik
afb1f48143
Merge branch 'release/3.1'
2020-06-15 13:03:14 -07:00
John Luo
0f70380524
Quarantine tests ( #22919 )
2020-06-13 14:28:40 -07:00
William Godbe
0343af108a
Merge pull request #22840 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-12 13:03:12 -07:00
Javier Calvarro Nelson
3679a01e4d
Unquarantine tests since they haven't failed in 30 days ( #22878 )
2020-06-12 10:12:51 -07:00
Sébastien Ros
0ec79c5196
Quarantining InputDateInteractsWithEditContext_NonNullableDateTime ( #22857 )
...
https://github.com/dotnet/aspnetcore-internal/issues/3616
2020-06-12 10:02:33 -07:00
Pranav K
a99dd0d312
Update js
2020-06-11 17:10:19 -07:00
Pranav K
ea4b52ccba
Merge remote-tracking branch 'origin/release/3.1'
2020-06-11 15:52:06 -07:00
Pranav K
0a42cca945
Razor SDK build ordering issues ( #22684 )
...
* Razor SDK build ordering issues
* Build the SDK completely regardless of the MSBuild runtime type
* Split SDK integration tests into a separate project. Clean up project file
* Add project to sln
* Update Microsoft.NET.Sdk.Razor.csproj
* Fixup tests
* Avoid rebuilding dependencies if they appear up to date. Fixup tests
* Fixup
* Update CSharp.Common.props
* Cleanup the build
2020-06-11 21:16:05 +00:00
Javier Calvarro Nelson
9d7018544a
[Blazor] Fix manifest integrity computation ( #22771 )
...
* [Blazor] Fix manifest integrity computation
* Add a couple of tests to validate incrementalism
2020-06-11 13:12:53 -07:00
Pranav K
8e813eea24
Workaround for DomException when invoking cache.put ( #22756 )
...
* Workaround for DomException when invoking cache.put
Invoking cache.put could sometimes result in exceptions being thrown. While this seems to have been fixed in Chromium - https://bugs.chromium.org/p/chromium/issues/detail?id=968444 ,
we've had several reports of this in our repo. The fix here is to write defensively when working with the cache apis since they appear to behave in unexpected ways..
Fixes https://github.com/dotnet/aspnetcore/issues/20256
* Fixup
2020-06-11 13:12:33 -07:00
Sébastien Ros
5f26302eaa
Quarantining CanDispatchAsyncWorkToSyncContext ( #22803 )
...
* Quarantining CanDispatchAsyncWorkToSyncContext
* Missing using
* Make method virtual
2020-06-11 09:30:26 -07:00
Pranav K
71853a4640
Merge branch '3.1merge'
2020-06-10 11:30:40 -07:00
Pranav K
b3ad812c14
Mark Wasm benchmark app as a test asset
2020-06-09 19:24:03 -07:00
Safia Abdalla
fbb70b12de
Fix startvs.cmd for Components solution ( #22739 )
2020-06-10 00:32:42 +00:00
Pranav K
758ca19edc
Build against the local JSInterop ( #22526 )
2020-06-09 14:38:13 -07:00
Javier Calvarro Nelson
a27356078f
Disable Yarn warnings on CI builds for restore and Blazor WebAssembly projects ( #22703 )
...
Disables warnings when running the Yarn task in CI environments. You'll still get the warnings on developer builds.
2020-06-09 09:53:50 -07:00
Pranav K
21f47cdf22
Ship JSInterop.WebAssembly package ( #22685 )
...
Fixes https://github.com/dotnet/aspnetcore/issues/22674
2020-06-09 16:32:00 +00:00
Pranav K
11ac23c65d
Changes per PR
2020-06-08 22:19:34 -07:00
William Godbe
a1360e98f3
Quarantine flaky test ( #22662 )
2020-06-08 12:53:57 -07:00
Victor Lindespång
d4a4c25607
Typo in XML comments for AuthorizationMessageHandler ( #22371 )
...
I'm not a native english speaker but I'm pretty sure something is wrong here, or it's a condition too complicated for me to understand ;- )
2020-06-07 00:05:45 -07:00
Ajay Bhargav B
c329dc555a
Quarantined flaky RazorSDK tests ( #22553 )
2020-06-04 22:24:23 +00:00
Pranav K
a352ac4bb8
Update blazor benchmarks to point to master ( #22524 )
2020-06-04 15:04:30 -07:00
Matt Mitchell
d8733c2a55
Build time changes ( #22362 )
...
* Build time changes
A few changes for build time
- Don't build tests with SkipTestBuild=true and use that for official
build legs. This cuts 40%-50% off the msbuild invocations for build.
The longest build leg drops by about 30 mins.
- Skip logging of some task parameters and their metadata.
This reduces overall binlog size, which is a major contributor to
build time.
Unfortunately, this does not mean we can yet turn binlogs back on. This
change can actually increase the overall binlog size due to logging of
more project started arguments. There is another optimization for this
in progress.
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-06-03 07:14:38 -07:00
Pranav K
646dfc63e4
Minor tweaks for better Ignitor debugability ( #22446 )
2020-06-02 17:45:52 -07:00
dotnet-maestro[bot]
7de516e750
[master] Update dependencies from dotnet/runtime ( #22387 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200529.7
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Drawing.Common , 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.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.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.IO.Pipelines , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Principal.Windows , System.Security.Permissions , 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 , System.Security.Cryptography.Xml
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.6.20279.7
* Update dependencies from https://github.com/dotnet/runtime build 20200530.5
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.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.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Configuration.UserSecrets , 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.Permissions , 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 , System.Security.Cryptography.Xml , System.Security.Principal.Windows
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.6.20280.5
* Update dependencies from https://github.com/dotnet/runtime build 20200531.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.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.Hosting , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Configuration.UserSecrets , 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.Permissions , 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 , System.Security.Cryptography.Xml , System.Security.Principal.Windows
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.6.20281.6
* Fixup test
* Update dependencies from https://github.com/dotnet/runtime build 20200602.1
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , 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.Http , 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.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.Hosting , Microsoft.Extensions.Configuration.Json , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , 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.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.7.20302.1
* React to ReferenceHandling rename
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-06-02 21:47:53 +00:00
Doug Bunting
256045729a
Add `SuccessfulTests` to ensure something runs in every non-Helix run ( #22406 )
...
* Remove extra `[SkipOnHelix]` attribute
- only need the one compiled into Microsoft.AspNetCore.Testing
- update the documentation to reflect this
- nit: address Markdown warnings that VS Code showed
* Add `SuccessfulTests` to ensure something runs in every non-Helix runs
- #22241
- cleans up hundreds of warnings but leaves a couple for the Blazor tests assembly
- see comments about xUnit runner command line in the new class
2020-06-02 12:19:28 -07:00
Safia Abdalla
e66ad54db4
Improve handling for shared values in Blazor Server ( #21299 )
2020-06-01 15:45:07 -07:00
Brennan
12949b7cb7
Quarantine flaky tests ( #22424 )
2020-06-01 18:54:34 +00:00
Pranav K
592dfe165b
Changes to build in master
...
* Cleanup bad merge
* Update to dotnet-serve that supports arbitrary ports
2020-05-28 15:43:55 -07:00
Pranav K
4c50b6cb16
Merge blazor-wasm in to master
2020-05-27 11:00:38 -07:00
Safia Abdalla
0394a4520e
Fix logging config and output redirection in DebugProxy ( #22157 )
...
* Fix logging config and output redirection in DebugProxy
* Log all messages from DebugProxy
2020-05-27 10:32:15 -07:00
lark
5b5c3f3934
Modify the path error in the comment. ( #22168 )
2020-05-27 09:52:01 -07:00
Pranav K
81007200b5
Quality of life improvements
2020-05-26 18:26:07 -07:00
John Luo
50d914f1af
Merge branch 'master' into johluo/tooling-consolidation-fixup
2020-05-26 15:02:12 -07:00
John Luo
50f3a16571
aspnetcore-tooling migration fixups
2020-05-26 12:31:49 -07:00
Pranav K
ae2017f31e
Changes to allow building in 3.1 branch
...
* Undo overzealous merge choices
* Undo temporary changes applied when part of the repo was building in the blazor-wasm branch
* Skip SPA template tests in 3.1
2020-05-22 09:20:54 -07:00
Pranav K
b3b6e50aab
Quarantine CanDeletedUnkeyed ( #22035 )
2020-05-20 20:36:26 +00:00
Chris Ross
f712fd7c38
Quarantine flaky tests ( #21957 )
...
* Quarantine HttpsNoClientCert_NoClientCert
* Quarantine StopPropagation
2020-05-18 21:19:58 +00:00
Pranav K
9949ab46c3
Fixup JS ( #21922 )
...
* Fixup JS
* Avoid monkey patching
2020-05-18 13:21:31 -07:00
Pranav K
8efeefb3d1
Merge branch 'blazor-wasm' into prkrishn/merge-blazor-wasm
2020-05-16 21:10:28 -07:00
Pranav K
8966415b6b
Merge commit 'bbafecc0535e1de3264845e51ea8b3d18eb3ca61' into prkrishn/merge-blazor-wasm
2020-05-15 10:12:32 -07:00
dotnet-maestro[bot]
d5849f3534
[master] Update dependencies from dotnet/arcade dotnet/aspnetcore-tooling ( #21630 )
...
* Update dependencies from https://github.com/dotnet/arcade build 20200511.9
- Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20228.4 => 5.0.0-beta.20261.9
- Microsoft.DotNet.GenAPI: 5.0.0-beta.20228.4 => 5.0.0-beta.20261.9
- Microsoft.DotNet.Helix.Sdk: 5.0.0-beta.20228.4 => 5.0.0-beta.20261.9
* Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200514.6
Microsoft.AspNetCore.Mvc.Razor.Extensions , Microsoft.AspNetCore.Razor.Language , Microsoft.CodeAnalysis.Razor , Microsoft.NET.Sdk.Razor
From Version 5.0.0-preview.5.20261.4 -> To Version 5.0.0-preview.6.20264.6
* Pre-emptively take -nobl change
* Disable binlogs in CI
* Fix build.sh to know about -nobl
* Align build.ps1|sh with latest Arcade parameters
- do not enable binary logs by default in CI builds
- leave `-binaryLog` and `-excludeCIBinaryLog` handling to eng/common/tools.ps1|sh
- was unnecessary since `-bl /bl:{some name}` worked fine, ignoring OOMs
nit: document `-excludeCIBinarylog` a bit more
* Do not pass unknown options into CodeCheck.ps1
* Pass `-ci -nobl` into remaining CI build jobs
* Switch default TFM to `net5.0`
* Update missing project templates tfms
* Add more `-ci -nobl`
- needed because _all_ builds in the pipeline are implicitly CI builds
- default-build.yml adds `-ci` when script wasn't explicit
* Default templates to net5.0
* PR feedback
* Update TFMs in explicit .nuspec files
* Update TFMs in test projects
* Update TFMs in test C# code
* Update TFMs in infrastructure files
* Future-proof a check for `net5.0` or later
- avoid comparisons involving `$(TargetFramework)` in .targets files
- fine to compare it with `''` or `$(DefaultNetCoreTargetFramework)`
* !fixup! Undo a couple of earlier fixes
- remove a duplicate `$()` setting
- correct the one remaining versioned `#if` define
- did not make it `#if NETCOREAPP` because benchmarks test numerous .NET Core TFMs
* Disable binary logs in CodeCheck.ps1
* Specify `-ci -nobl` just once when using `parameters.buildArgs`
* Restore `$binaryLog` default logic
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Co-authored-by: Will Godbe <wigodbe@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2020-05-15 00:17:02 +00:00
Doug Bunting
de38479e5f
Improve build reliability ( #20760 )
...
* Improve build reliability
- ensure `ResolveCustomReferences` target executes before packages are used
- `ResolveAssemblyReferences` and `ResolveAssemblyReferencesDesignTime` targets run too late
- e.g. failed builds of Microsoft.AspNetCore.WebUtilities or Microsoft.AspNetCore.Hosting when building from root
- add `GetReferenceProjectTargetPathMetadata` for ease of use as well as reliability
- avoids extra work to get existing metadata (ref/ projects execute no tasks in this target)
nit: rename `@(ReferenceProjectMetadata)` -> `@(ReferenceProjectTargetPathMetadata)`
* Ensure `GetTargetPathMetadata` target runs with `$(TargetFramework)` set
- ref/ projects all multi-target and otherwise no-op this target
* Revert "Fix various "Type or namespace not found" errors (#20736 )"
- change is no longer needed with other fixes in this PR
This reverts commit 8218d6e0e7 .
2020-05-13 11:31:09 -07:00
Pranav K
4b88074e30
Add a simplified version of ServerComponentRenderingTest.CanDispatchAsyncWorkToSyncContext ( #21633 )
...
ServerComponentRenderingTest.CanDispatchAsyncWorkToSyncContext is quarantined but since it's not running on Helix there isn't any history available for it. With all the moving
parts in the server test, it's unclear if it's a product vs test setup issue.
Authoring a more simplified test so we can track test history. Note that it's starting off as quarantined because there's no evidence that the product code isn't broken
Fixes https://github.com/dotnet/aspnetcore/issues/19413
2020-05-11 12:54:01 -07:00
Pranav K
158126c27a
Add a scenario with timers ( #19626 )
...
* Add a scenario for measuring navigating between components
* Apply suggestions from code review
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-05-11 10:46:26 -07:00
Pranav K
22522a0d78
Update to mono sources http://github.com/mono/mono/commit/57dcba253 ( #21700 )
2020-05-11 10:40:12 -07:00
Javier Calvarro Nelson
a9d702624a
[ Fixes #19666 ] [Components] Improve reliability of component quarantined tests (take 2) ( #21499 )
...
* Tries to increase the reliability of the tests by:
* Trying to ensure that the server is up and running before connecting.
* Retrying a connection attempt multiple times.
2020-05-06 10:12:06 -07:00
Pranav K
2ca2a2d405
Update debugger to 1a6e64a938 ( #21524 )
2020-05-06 00:17:48 +00:00
Pranav K
4f5bf164df
Show debugger attach message ( #21483 )
...
Also spruce up branding
2020-05-05 09:06:55 -07:00
Pranav K
9e412f4c7f
Do not attempt to load satellite assemblies until after MainAsync has executed ( #21476 )
...
WASM runtime does not like it when you attempt to load satellite assemblies
for two sets of non-neutral cultures - the first is always loaded. This change
defers loading satellite assemblies until after Program.Main has executed
and the developer has configured the culture for the application.
Fixes https://github.com/dotnet/aspnetcore/issues/21433
2020-05-05 09:06:42 -07:00
Pranav K
cc2b64ec5e
Re-use the Blazor app for stress runs ( #21078 )
...
* Re-use the Blazor app for stress runs
Our current stress runs re-used the perf tests which recreated the blazor app on each run. Perf runs are meant to run
and be done, however, we want stress apps to be long lasting to capture things like memory leaks.
This change creates a fork in the tests to support stress runs that re-use the app between runs.
2020-05-04 09:02:05 -07:00
Safia Abdalla
37da482969
Move Blazor Server template tests to new project ( #21345 )
2020-05-01 11:47:52 -07:00
Safia Abdalla
2a97de0344
Fix intermediate path for service worker assets ( #21128 )
2020-04-30 15:03:16 -07:00
Pranav K
147f5758c6
Ensure satellite resources are published when building in VS ( #21347 )
...
* Ensure satellite resources are published when building in VS
Fixes https://github.com/dotnet/aspnetcore/issues/21355
2020-04-30 14:57:04 -07:00
Artak
9025f63fc3
Marked the Mono.WebAssembly.Interop package as non-shipping ( #21367 )
...
* Marked the Mono.WebAssembly.Interop package as non-shipping
2020-04-30 14:56:59 -07:00
Steve Sanderson
4438f33304
Update ws-proxy to match runtime in use (from Mono commit cc6d4bf6cfce33ae3b41f74ac14ac2cb770603d5)
2020-04-30 16:56:25 +01:00
Javier Calvarro Nelson
c10fea055c
Revert "[Blazor] Unquarantine ComponentHubReliabilityTests ( #21319 )"
...
This reverts commit f36adf0805 .
2020-04-29 11:09:38 -07:00
Javier Calvarro Nelson
f36adf0805
[Blazor] Unquarantine ComponentHubReliabilityTests ( #21319 )
...
Fixes #19666
2020-04-29 10:04:26 -07:00
Pranav K
9cecd089e4
Ignitor fixups ( #21198 )
...
* Ignitor fixups
* Do not throw if an ElementReferenceCapture node is encountered.
* Allow configuring the HubConnectionBuilder
* Make useful API public
2020-04-27 13:27:11 -07:00
Pranav K
5da314644a
Add an option to allow trimming collation data
2020-04-23 12:08:21 +01:00
Larry Ewing
5dc5f6c230
Silence the runtime output from the debugger ( #20975 )
...
* Silence the runtime output from the debugger
* Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-04-22 11:15:49 -07:00
Pranav K
25f89e22f3
Update dbgproxy to 70ff920a89 ( #21075 )
2020-04-21 16:09:45 -07:00
dotnet-maestro[bot]
b8f7dde377
[blazor-wasm] Update dependencies from dotnet/arcade dotnet/blazor ( #20972 )
...
* Update dependencies from https://github.com/dotnet/blazor build 20200417.2
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20217.2
* Update dependencies from https://github.com/dotnet/blazor build 20200418.1
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20218.1
* Update dependencies from https://github.com/dotnet/arcade build 20200418.1
- Microsoft.DotNet.Arcade.Sdk: 1.0.0-beta.20208.8 -> 1.0.0-beta.20218.1
- Microsoft.DotNet.GenAPI: 1.0.0-beta.20208.8 -> 1.0.0-beta.20218.1
- Microsoft.DotNet.Helix.Sdk: 2.0.0-beta.20208.8 -> 2.0.0-beta.20218.1
* Update dependencies from https://github.com/dotnet/blazor build 20200420.1
- Microsoft.AspNetCore.Components.WebAssembly.Runtime: 3.2.0-rc1.20217.1 -> 3.2.0-rc1.20220.1
* Update to BROWSER RID
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-04-21 20:19:04 +00:00
Pranav K
2612ec89b2
Updating build to https://github.com/mono/mono/commit/ae8e4b5b044 ( #21034 )
2020-04-21 06:53:34 -07:00
Pranav K
6c23730fa8
Compute SHA256s for blazor.boot.json in parallel ( #21021 )
...
* Compute SHA256s for blazor.boot.json in parallel
2020-04-20 17:25:24 -07:00
Pranav K
202d21431e
Avoid copying timezone data bytes ( #21028 )
...
This was missed in the PR when changing the implementation to use
slices of Uint8Array rather than slices of ArrayBuffer.
Making the function non-async since it's entirely synchronous.
2020-04-20 15:20:35 -07:00
Pranav K
2bd662fe0b
Update DbgProxy to c8cbcaad ( #20865 )
2020-04-20 11:22:29 -07:00
Pranav K
99781d3b25
Share SignalR's HubProtocol implementation in Blazor ( #20922 )
2020-04-18 10:07:51 -07:00
Safia Abdalla
089bb4a072
Improve tests for logging configuration support ( #20973 )
2020-04-17 20:55:07 -07:00
Pranav K
d2ee131fd8
Fixup reference to M.AspNetCore.Components.WebAssembly.HttpHandler ( #20891 )
...
* Fixup reference to Microsoft.AspNetCore.Components.WebAssembly.HttpHandler
As part of attempting to fix the reference in the test project (which ultimately wasn't needed), I messed up the package reference in the WebAssembly package
This fixes the package reference and removes unnecessary code from the test project
2020-04-17 14:23:20 -07:00
Javier Calvarro Nelson
8f12519b0e
Fix typo in ServiceWorkerAssetsManifest.targets ( #20944 )
...
Fixes a typo that prevented the service worker from being removed during publish
2020-04-17 07:16:05 -07:00
Safia Abdalla
8b6ccff647
Fix AuthStateAsyncReturnsUnrelatedCancelledTask_TreatAsFailure flake ( #20881 )
2020-04-17 06:55:20 -07:00
Steve Sanderson
03068c9165
Transfer .NET unhandled exceptions to JS via dedicated interop call. Fixes #20280 ( #20907 )
2020-04-17 07:45:06 +01:00
Steve Sanderson
e95264f237
Support overriding how boot resources are loaded. Fixes #5462
2020-04-17 07:45:06 +01:00
Steve Sanderson
fcb96b6edd
Upgrade all NPM dependencies. Update to use current Emscripten APIs matching newer type definitions.
2020-04-17 07:45:06 +01:00
Pranav K
50a2527ca9
Copy I18N assemblies when running without the linker ( #20878 )
...
* Copy I18N assemblies when running without the linker
Fixes https://github.com/dotnet/aspnetcore/issues/20517
2020-04-16 16:52:07 -07:00
Javier Calvarro Nelson
ad725861a9
[Blazor][Wasm] Build fixes for incrementalism and PWA ( #20861 )
...
* Fixes incrementalism issue caused by a wrong up to date check
* Fixes PWA template on hosted scenario by removing the 'ServiceWorker' from the content itemgroup in all scenarios.
2020-04-15 10:26:00 -07:00
Safia Abdalla
d03c3b2a1e
Move auth config options to app settings ( #20790 )
...
* Move auth config options to app settings
* Move logging configuration setup to host builder
* Address issues from peer review
2020-04-14 15:29:09 -07:00
Pranav K
3fbb2f0cd9
Add timezone support ( #20493 )
2020-04-14 13:37:49 -07:00
William Godbe
8218d6e0e7
Fix various "Type or namespace not found" errors ( #20736 )
...
* Add manual packageReferences where needed
* Add more explicit packageRefs
* Fix typo
* undo changes to blazor.server.js
* Fix typo
* Don't gen ref assemblies in CodeCheck
2020-04-14 10:57:26 -07:00
Wayne Adams
75c779773f
Add missing OffsetX and OffsetY events to MouseEventArgs. ( #20478 )
...
* Add missing OffsetX and OffsetY events to MouseEventArgs.
* Update public interfaces
* Generate Reference Assemblies
2020-04-14 10:00:32 -07:00
Pranav K
9dda113d60
Make Ignitor tests flaky
2020-04-14 09:37:09 -07:00
Pranav K
f3a1fb6ad3
Fixups
2020-04-14 09:37:09 -07:00
Safia Abdalla
b289633533
Do not override existing web.config during IIS publish
2020-04-14 09:37:09 -07:00
Pranav K
38285eb9ba
Pin shared fx version to 3.1.0 ( #20802 )
2020-04-14 09:36:40 -07:00
Pranav K
1e70883e87
Create a ref-assembly package for HttpHandler ( #20382 )
...
* Create a ref-assembly package for HttpHandler
Fixes #19202
2020-04-13 14:07:15 -07:00
Javier Calvarro Nelson
546b52004c
[Blazor][Wasm] Adds HttpMessageHandler to automatically attach tokens to outgoing requests ( #20682 )
...
* Adds an authorization handler for integration with HttpClient in different scnearios.
* Adds a message handler to streamline calling protected resources on the same base address.
2020-04-13 04:27:53 -07:00
Pranav K
3c1bd093e9
Print disk usage ( #20704 )
...
* Print disk usage
* Try again
* Disk util part3
* dont look at /tmp
* Remove max-depth
* Add disk usage stats to all non-windows platforms
* Disable Ubuntu quarantined test step
* Apply suggestions from code review
- Make thingies worky on macOS
* Update .azure/pipelines/jobs/default-build.yml
* Undo skip of qurantined test run
* Update .azure/pipelines/jobs/default-build.yml
- do not reference directory that doesn't exist
* Update .azure/pipelines/jobs/default-build.yml
- reduce noise in Mac disk utilization output
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-04-11 12:59:18 -07:00
Pranav K
cc0407877f
Merge branch 'blazor-wasm' into blazor-wasm-preview5
2020-04-10 21:49:10 -07:00
Günther Foidl
810969084a
Replaced Span<T>.Fill(0) with Span<T>.Clear() ( #20023 )
2020-04-10 15:18:37 -05:00
Safia Abdalla
c4703acfa7
Enable reading and editing from same Configuration object ( #20647 )
2020-04-10 09:59:05 -07:00
Javier Calvarro Nelson
43bd9dbf3e
[Blazor][Wasm] API review feedback ( #20652 )
...
* UserFactory->AccountClaimsPrincipalFactory
* Change constants to static readonly
* Make applicationpaths provider and RemoteAuthenticatorViewCore dependencies internal
* Change collection types, make properties get only where possible
* Change state constraint to extend RemoteAuthenticationState
2020-04-08 16:08:43 -07:00
Javier Calvarro Nelson
f34ef732d2
[Blazor][Wasm] Auth cleanups ( #20587 )
...
* Avoid using query parameter when passing messages to the error UI.
* Adds an additional parameter to automatically perform the redirect.
* Fix provisioning additional tokens in MACWA.
* Fix create solution with spaces
* Cleanup Msal startup APIs.
* Rename UserFactory -> AccountClaimsPrincipalFactory
2020-04-06 16:07:17 -07:00
Steve Sanderson
3224092fdd
Update ws-proxy sources to match Mono commit c5149e31b4d7c ( #20579 )
2020-04-06 22:52:14 +01:00
John Luo
1cc6171b0a
Fix tests
2020-04-06 11:56:22 -07:00
John Luo
6ad0d5849c
Merge branch 'master' into johluo/remove-extensions-deps
2020-04-06 11:17:56 -07:00
Artak
c2afc704a6
Enable doc comments generation ( #20564 )
...
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-04-06 10:41:28 -07:00
Pranav K
351eba767c
Cleanup Blazor standalone publish output ( #20470 )
...
* Remove stray content from Blazor's publish output.
* Introduce BlazorPrunePublishOutput as a way for users to opt-out of this.
Fixes https://github.com/dotnet/aspnetcore/issues/17018
2020-04-06 08:50:27 -07:00
Javier Calvarro Nelson
8232c6a4d8
[ Fixes #19644 ][Blazor] Support brotli compression for framework files ( #20363 )
...
* [Blazor] Support brotli compression for framework files
* Adds a new tool to the Blazor.Build package to perform brotli compression.
* Performs brotli compression at publish time
* Centralizes hashing computation in one place and creates hash files for
performing incremental compilations
2020-04-06 08:29:24 -07:00
Hao Kung
cc79bcc67b
Reenable cert tests on helix ( #20372 )
2020-04-04 13:02:22 -07:00
Javier Calvarro Nelson
fd9c786165
[Blazor] More auth fixes ( #20192 )
...
* Introduces customization options for mapping user claims principals.
* Supports login/logout flows extensibility.
* Improves E2E test reliability
* Improves reliability on the AuthenticationService
* Improves the experience by trying to silently log-in users on startup.
* Avoids loading the Blazor application when within a hidden iframe.
2020-04-04 04:06:25 -07:00
John Luo
5e81b276a7
Use migrated analyzers
2020-04-03 11:46:49 -07:00
Safia Abdalla
e67e7a08ca
Remove WebAssemblyLoggerFactory and refactor logging setup ( #20432 )
...
**Changes in this PR**
- Replaces `WebAssemblyLoggerFactory` with `LoggerFactory` from logging extensions package
- Moves WebAssemblyConsoleLogger and PrependMessageLogger to provider model
Now that we are using the standard `LoggerFactory` support for config options like `SetMinimumLevel` and `AddProvider` is available.
Compared to what is currently in the `blazor-wasm` branch, the changes in this PR add an additional 12 kb to the total compressed size.
Addresses #19737
2020-04-03 10:22:05 -07:00
Pranav K
41a9588353
Move specifying default Blazor linker config to props file ( #20458 )
...
Fixes #20443
2020-04-03 09:04:38 -07:00
Pranav K
1b2cb0b93c
Apply suggestions from code review
...
Co-Authored-By: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-04-02 15:21:42 -07:00
Pranav K
a127eb86da
Fixup
2020-04-02 15:14:48 -07:00
Pranav K
861e88c61b
Fixup tests
2020-04-02 15:14:44 -07:00
Pranav K
a7c2d25ffa
Remove constraints on WebAssembly.Build package
...
Make Blazor-Wasm projects not-packable by default
2020-04-02 15:13:35 -07:00
Pranav K
0c614ff9c7
Fixup
2020-04-02 15:13:34 -07:00
Pranav K
a9494214fa
Preserve files being published to the publish root and the wwwroot
...
Fixes https://github.com/dotnet/aspnetcore/issues/19926
2020-04-02 15:13:33 -07:00
Steve Sanderson
113cb5422d
Support JsonStringEnumConverter. Fixes #19086 ( #20446 )
...
* Fix serializing enums. Fixes #19086
* Add E2E test
2020-04-02 16:09:34 +01:00
Pranav K
dd2f0c9d90
Remove the use of toJavaScriptString ( #20260 )
...
* Allow readString to optionally read boolean values as string
Fixes https://github.com/dotnet/aspnetcore/issues/19784
2020-04-02 07:51:57 -07:00
John Luo
fcb23108b6
Relocate Logging.Testing to AspNetCore.Testing
2020-04-02 00:16:01 -07:00
Doug Bunting
0518cb5107
Suppress a warning ( #20390 )
...
- Suppress a warning
- Clarify a comment
2020-04-01 22:14:41 -07:00
Steve Sanderson
ae569e2b48
Add some extra publish integration tests, plus fix publish-from-VS-with-RID ( #20410 )
...
* Add detailed integration tests for publishing service workers, assets manifests, and blazor.boot.json
* Fix publishing from VS with non-portable RID
2020-04-01 13:35:30 -07:00
Markus Rodler
a8bd551d99
Set crossorigin to anonymous for integrity attribute ( #20348 )
...
* Set crossorigin to anonymous for integrity attribute
dotnet/aspnetcore#20305
* Fix formatting of output
dotnet/aspnetcore#20305
2020-04-01 09:53:46 -07:00
Kevin Pilch
f34033a415
Add .vsconfig files in root and beside slns
2020-03-31 14:25:44 -07:00
William Godbe
24619b8594
Merge pull request #20250 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-03-31 11:33:48 -07:00
Steve Sanderson
aeff119dc4
Blazor dev server: serve all files ( #20355 )
...
* Serve all files in development. Fixes #19931
* Dev server code tidy
2020-03-31 16:08:22 +01:00
Steve Sanderson
05ee136e87
Rename site.css to app.css. Fixes #19779
2020-03-31 12:31:57 +01:00
Safia Abdalla
cba5387f28
Bring back logic to remove unwanted env variables ( #20326 )
2020-03-30 12:34:19 -07:00
Safia Abdalla
a57943a443
Add support for optional parameters in Blazor routes ( #19733 )
2020-03-30 12:30:28 -07:00
Pranav K
fa2db44d89
Update WebAssemblyHost.cs
2020-03-29 19:08:10 -07:00
Pranav K
248b31e0fb
Load satellite resources before rendering components
2020-03-29 15:20:59 -07:00
Pranav K
56b944f46c
Fix missing pdbs in Blazor build ( #20257 )
...
* Fix missing pdbs in Blazor build
* Allow tests to run in Debug and Release independent of the configuration test project is built in
Fixes https://github.com/dotnet/aspnetcore/issues/20242
2020-03-28 14:50:11 -07:00
Steve Sanderson
c379bae8e9
Fix SWAM hash ( #20240 )
2020-03-28 17:53:46 +00:00
William Godbe
f29ddaf680
Merge branch 'master' into merge/release/3.1-to-master
2020-03-27 10:24:36 -07:00
William Godbe
1040be3588
Include third-party-notices.txt in all packages ( #20166 )
...
* Include third-party-notices.txt in all packages
* Fix version test filename
2020-03-27 10:15:32 -07:00
Pranav K
82d05ae785
Add support for loading satellite assemblies ( #20033 )
...
* Add support for loading satellite assemblies
Fixes #17016
2020-03-26 13:58:00 -07:00
Pranav K
cb6858fe31
Update to using System.Net.Http.Json ( #20195 )
2020-03-26 10:13:23 -07:00
Javier Calvarro Nelson
b0a95d05e0
[Blazor] Auth fixes ( #20191 )
...
* Adds MetadataAddress property to OidcProviderOptions.
* Sets defaults for the Msal cache location on the provider initialization.
* Updates the template to avoid redirecting to the login page if the user is already authenticated.
* Fixes startup APIs for AddRemoteAuthentication.
* Fixes TryGetToken for the Blazor MSAL library when the token can't be acquired silently.
2020-03-26 09:07:46 -07:00
Pranav K
263cf0bbd2
Skip flaky test
2020-03-25 15:59:17 -07:00
Pranav K
de2fa4c69c
Update versions
...
* Update Blazor version to preview4
* Update ASP.NET Core references to 3.1.3
* Remove DisableImplicitComponentsAnalyzers workaround
2020-03-25 15:59:17 -07:00
Steve Sanderson
bbe9cca327
Write hash to service worker on publish ( #20131 )
...
* Write SWAM version into service worker output
* Update project template
* Add publishing test
* Update src/Components/WebAssembly/Build/src/targets/ServiceWorkerAssetsManifest.targets
Co-Authored-By: Pranav K <prkrishn@hotmail.com>
* Add E2E test for hosted PWA too
* Avoid test clashes
* E2E test fix
* E2E test fix
* E2E test fix
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-03-25 20:06:03 +00:00
Doug Bunting
3dfd5f28c1
nit: Mark shell scripts as executable
2020-03-25 11:04:25 -07:00
Pranav K
9f9783c0df
Tweaks for WASM stress runs ( #20109 )
...
Prevent interleaved console writes when reporting stats
Do not print browser logs by defualt
2020-03-25 09:04:29 -07:00
Pranav K
47536a3c14
Blazor wasm preview4 ( #20117 )
...
* Restore public API contract on WebAssemblyJSRuntime (#19968 )
* Shrink icon-512.png (#19999 )
* Use custom DebugProxyHost to initialize DebugProxy config (#19980 )
Addresses #19909
* Spruce up WebAssemblyHostEnvironment interface and use (#20008 )
* Load .dlls/.wasm/.pdb in parallel with dotnet.*.js. Fixes #18898 (#20029 )
* Add BaseAddress property to WebAssemblyHostEnvironment (#20019 )
- Adds `BaseAddress` to `IWebAssemblyHostEnvironment`
- Uses unmarshalled APIs to extract application host
- Move NavigationManager initialization to startup code
- Fix subdir mapping in ClientSideHostingTest
Addresses #19910
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Safia Abdalla <safia@safia.rocks>
Co-authored-by: Safia Abdalla <safia@microsoft.com>
2020-03-25 01:51:55 +00:00
Brennan
9112030a3c
Quarantine some tests ( #19932 )
2020-03-17 16:31:24 -07:00
Pranav K
cb293661e1
Make extensions
...
Make WebAssemblyJSRuntime interop-specific overloads extension methods
2020-03-17 09:49:27 -07:00
Pranav K
715ed24382
Don't ship Wasm.Performance.Driver ( #19906 )
2020-03-17 09:16:53 -07:00
Pranav K
c37f3fefce
Turn on scope validation for service provider
...
Fixes https://github.com/dotnet/aspnetcore/issues/9365
2020-03-16 16:20:02 -07:00
Brennan
37c2a882c4
Use Node-Fetch instead of Request for TS client ( #19708 )
2020-03-13 17:39:25 -07:00
Steve Sanderson
f1b812e21e
Update ws-proxy code ( #19826 )
2020-03-13 11:34:09 +00:00
Steve Sanderson
9343d2bca0
Log unhandled exceptions to custom logger ( #19606 )
2020-03-13 10:40:02 +00:00
Steve Sanderson
2e9bb2ff5f
Debug proxy as external tool ( #19767 )
2020-03-12 18:42:13 +00:00
Pranav K
147c39289a
Add support for configuration ( #19544 )
...
* Add support for configuration
Fixes https://github.com/dotnet/aspnetcore/issues/18675
2020-03-12 11:38:06 -07:00
Julio Avellaneda
8ad0f1fbe6
Update gitter url ( #19755 )
...
Update gitter url.
2020-03-11 09:31:59 -07:00
Pranav K
a0c76e5a4c
Rename WebAssembly.JSInterop -> Microsoft.JSInterop.WebAssembly
2020-03-10 13:42:35 -07:00
Pranav K
6833facda4
Use TargetPath in blazor dev server ( #19658 )
...
The linker's changed since the issue report and correctly resolves paths.
However the dev-server was doing weird things to calculate the path to the output.
Fixes https://github.com/dotnet/aspnetcore/issues/18288
2020-03-10 11:06:15 -07:00
Hao Kung
bc6bc2d22c
Reenable Components analyzers on helix ( #19721 )
2020-03-09 22:14:20 -07:00
Guillaume Nury
58c13c312e
Support nullable enum in InputSelect ( #19506 )
...
As BindConverter supports Nullable enums (here), call it if the underlying type has type of enum.
Addresses #13624
2020-03-09 16:00:35 -07:00
Pranav K
4741da1451
Allow BlazorWasm benchmark driver to perform stress runs ( #19619 )
...
* Allow BlazorWasm benchmark driver to perform stress runs
Adds an option that allows running the driver in a loop until timeout expires
2020-03-09 15:21:30 -07:00
Pranav K
72bb72f11c
Quarantine Blazor-Ignitor based tests ( #19667 )
2020-03-09 14:28:51 -07:00
Javier Calvarro Nelson
adc81c94de
[Blazor] Fix default value for response type ( #19706 )
2020-03-09 11:54:51 -07:00
Pranav K
247c0ddae9
Make BlazorLinkerDescriptor public ( #19649 )
...
This was accidentally made non-public as part of the API review
2020-03-06 10:18:53 -08:00
Pranav K
e40fc36783
Update debug proxy to match 5973519784 ( #19618 )
2020-03-05 15:26:32 -08:00
Pranav K
b02978e0d8
React to dotnet.js having a version number ( #19603 )
2020-03-05 14:36:32 -08:00
msftbot[bot]
28c44ce1c1
[Blazor] API cleanups for the authentication Package ( #19601 )
...
* Add missing OIDC provider options
* Convert string to enum
* Revert changes to JS files
2020-03-05 14:47:47 +00:00
msftbot[bot]
e5cd390a8c
Update ws-proxy to match Mono commit 4c348d6567f42be ( #19600 )
2020-03-05 14:46:56 +00:00
Pranav K
f4446f373f
Use browser APIs to calculate Blazor's download size ( #19547 )
2020-03-05 06:38:35 -08:00
Javier Calvarro Nelson
e15e1c2415
[Blazor] Fix incrementalism with unlinked files ( #19596 )
2020-03-05 05:44:08 -08:00
John Luo
f05e019271
Merge branch 'master' into johluo/migrate-logging-testing
2020-03-04 22:17:06 -08:00
John Luo
c181547864
Migration fixup for Logging.Testing
2020-03-04 22:10:12 -08:00
Artak
4192a023f5
Mark tests as flaky ( #19415 )
...
* Mark tests as flaky
* Update ComponentHubReliabilityTest.cs
* Update InteropReliabilityTests.cs
* Update ServerComponentRenderingTest.cs
* Update ServerComponentRenderingTest.cs
2020-03-04 15:26:19 -08:00
Brennan
56fb4b4d2f
Rename Flaky attribute ( #19469 )
2020-03-04 08:10:18 -08:00
Steve Sanderson
98cd3ab349
Allow loading dlls with arbitrary extensions
2020-03-04 12:30:10 +00:00
Steve Sanderson
fee14d8e13
Update debug proxy to match Mono commit b91580bafa7208b4a52d66cfadce070551f1904a
2020-03-03 11:43:55 +00:00
Javier Calvarro Nelson
085f6e1585
[Blazor][ Fixes #19503 ] Exclude gzip files from manifest ( #19525 )
...
* Exclude gzip files from manifest
* Add a test to validate the service-worker manifest
2020-03-03 03:41:58 -08:00
Pranav K
555cf52454
Initialize the runtime state correctly for debugging ( #19426 )
...
* Initialize the runtime state correctly for debugging
On startup the DebugProxy needs to know when the runtime
has initialized enough to be able to begin interaction
this is accomplished by breaking in mono_wasm_runtime_ready()
which the Proxy sees does initialization and then resumes from.
Simply setting mono_wasm_runtime_is_ready breaks that logic,
but even worse it appears that the variable is linked out
in the release version
* Regen webassembly.js
Co-authored-by: Larry Ewing <lewing@microsoft.com>
2020-02-28 08:17:24 -08:00
Safia Abdalla
f0ac5b07ee
Fix copy/paste type in test asset
2020-02-27 11:56:17 -08:00
Safia Abdalla
677a1b5be7
Add tests for short values in BindTests
2020-02-27 11:56:17 -08:00
Safia Abdalla
1407d9ab05
Update reference assemblies for modified components
2020-02-27 11:56:17 -08:00
Safia Abdalla
c1158b6718
Add tests for short values in <InputNumber/>
2020-02-27 11:56:17 -08:00
Safia Abdalla
8a0be19abe
Support short values in <input type='number'/>
2020-02-27 11:56:17 -08:00
Safia Abdalla
346eceaadb
Add two-way binding for short data types
2020-02-27 11:56:17 -08:00