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
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
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
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
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
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
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
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
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
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
Pranav K
90a4707de0
Ensure DevServer has the AspNetCore.App runtime in runtimeconfig.json ( #23814 )
2020-07-10 09:03:24 -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
Ryan Brandenburg
b501f13fb3
Quarantine a flaky test ( #23827 )
2020-07-09 23:44:29 +00:00
Steve Sanderson
6cb575216f
Cache JS->.NET string decoding results within a single renderbatch ( #23773 )
2020-07-09 14:40:37 +01: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
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
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
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
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
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
Pranav K
4b796c7bad
Quarantine components tests ( #23644 )
2020-07-06 10:30:10 -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
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
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
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
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
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
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
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