Граф коммитов

542 Коммитов

Автор SHA1 Сообщение Дата
dotnet-maestro[bot] 9f2978e55d
Update dependencies from https://github.com/dotnet/arcade build 20231201.1 (#52563)
[main] Update dependencies from dotnet/arcade
2023-12-04 16:12:16 +00:00
Marc Gravell 2f5dee18f9
rev SDK to current nightly (build-ops) (#52568) 2023-12-04 09:32:10 -06:00
Sébastien Ros 97bea8d52d
Update SDK version (#52405)
9.0.100-alpha.1.23577.5
2023-11-27 20:14:53 +00:00
dotnet-maestro[bot] 17d42e25b6
Update dependencies from https://github.com/dotnet/arcade build 20231122.2 (#52395)
[main] Update dependencies from dotnet/arcade
2023-11-27 14:35:51 +00:00
Safia Abdalla 7a5b5ddb96
Update SDK (#52224) 2023-11-21 09:31:35 -08:00
dotnet-maestro[bot] 7aa0137d06
Update dependencies from https://github.com/dotnet/arcade build 20231117.1 (#52209)
[main] Update dependencies from dotnet/arcade
2023-11-20 14:40:49 +00:00
dotnet-maestro[bot] f2127682ec
Update dependencies from https://github.com/dotnet/arcade build 20231110.1 (#52011)
[main] Update dependencies from dotnet/arcade
2023-11-13 14:45:49 +00:00
dotnet-maestro[bot] 5611ee30dd
Update dependencies from https://github.com/dotnet/arcade build 20231108.3 (#51949)
[main] Update dependencies from dotnet/arcade
2023-11-09 05:20:46 +00:00
Andrew Casey 099783acba
Update SDK to 23556.1 (#51907)
* Update SDK to 23556.1

Regular BuildOps update

* Suppress IL2072 with pragmas

...now that it's reported by a roslyn analyzer.  Analogous to 533a66cfce for IL2111.
2023-11-08 14:17:20 -08:00
dotnet-maestro[bot] 94ad7031db
Update dependencies from https://github.com/dotnet/arcade build 20231103.1 (#51890)
[main] Update dependencies from dotnet/arcade
2023-11-06 19:56:01 +00:00
Sébastien Ros 64f95ef237
Update SDK (#51761) 2023-10-31 09:30:30 -07:00
dotnet-maestro[bot] 2a60072d1c
Update dependencies from https://github.com/dotnet/arcade build 20231028.2 (#51744)
[main] Update dependencies from dotnet/arcade
2023-10-30 14:06:57 +00:00
Andrew Casey b12003e541
Update SDK to 23523.1 (#51588)
Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: James Newton-King <james@newtonking.com>
2023-10-26 10:41:02 +08:00
dotnet-maestro[bot] 579f4b38e9
Update dependencies from https://github.com/dotnet/arcade build 20231018.2 (#51563)
[main] Update dependencies from dotnet/arcade
2023-10-23 13:26:21 +00:00
Mackinnon Buck f640c1af84
Update SDK (#51240)
* Update global.json

* Fix build

---------

Co-authored-by: Igor Velikorossov <RussKie@users.noreply.github.com>
2023-10-20 02:03:14 +00:00
dotnet-maestro[bot] 93821525fe
[main] Update dependencies from dotnet/arcade (#51223)
[main] Update dependencies from dotnet/arcade


 - Update to arcade 9.0.0-beta.23513.3
2023-10-13 19:37:48 +00:00
Mitch Denny f49c1c7f74
Update SDK. (#51086) 2023-10-04 09:44:07 +11:00
Brennan 95400f1c48
Update SDK version (#51069) 2023-10-02 14:22:12 -07:00
Chris Ross 82efb43c27
Update SDK to 9.0.100-alpha.1.23476.6 (#50949) 2023-09-27 00:10:42 +00:00
Stephen Halter 57d7036064
Update SDK (#50801) 2023-09-19 09:21:41 +01:00
dotnet-maestro[bot] b0b9f45538
Update dependencies from https://github.com/dotnet/arcade build 20230913.1 (#50775)
[main] Update dependencies from dotnet/arcade
2023-09-19 01:37:26 +00:00
Sébastien Ros b091143af5
Update SDK version (#50644) 2023-09-12 14:45:56 +08:00
dotnet-maestro[bot] 6e2211250d
Update dependencies from https://github.com/dotnet/arcade build 20230901.1 (#50503)
[main] Update dependencies from dotnet/arcade
2023-09-04 13:25:50 +00:00
Stephen Halter a42669be75
Update SDK to 9.0.100-alpha.1.23421.9 (#49911)
Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: Safia Abdalla <safia@safia.rocks>
Co-authored-by: James Newton-King <james@newtonking.com>
2023-08-31 12:03:19 +08:00
William Godbe fe6335d033
Merge branch 'main' into merge/release/8.0-to-main 2023-08-29 14:30:48 -07:00
Mackinnon Buck 9fff89219d Revert "[automated] Merge branch 'release/8.0' => 'main' (#50281)"
This reverts commit 9402bfac90.
2023-08-29 12:20:49 -07:00
dotnet-maestro-bot 9402bfac90
[automated] Merge branch 'release/8.0' => 'main' (#50281)
* Remove reflection from KestrelServer constructor (#50272)

* Update dependencies from https://github.com/dotnet/extensions build 20230822.1 (#50288)

[release/8.0] Update dependencies from dotnet/extensions

* Ensure enhanced nav requests have the correct headers (#50263)

* In SSR, supply HttpContext as cascading value (#50253)

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

### Usage

```cs
[CascadingParameter] public HttpContext? Context { get; set; }
```

In SSR, this will receive the `HttpContext`. In other rendering modes where there is no HTTP context, no value will be supplied so the property will remain `null`.

### Alternative design considered

In #48769 I suggested using `[SupplyParameterFromHttpContext]` but that turns out not to be practical unless we either (a) make `ICascadingValueSupplier` public, or (b) add an IVT from `M.A.Components` to `.Endpoints`.

I'm not keen on doing either of the above on a whim. Plus, use of `[CascadingValue]` has advantages:

 * It's consistent with the existing pattern for authentication state (we have `[CascadingParameter] Task<AuthenticationState> AuthenticationStateTask { get; set; }`).
 * Longer term, if we add more things like this, it would be nice not to add a separate special attribute for each one when `[CascadingParameter]` is already descriptive enough. Special attributes are needed only when the type of thing being supplied might reasonably clash with something else the application is doing (for example, we do need it for form/query, as they supply arbitrary types).

## Review notes

It's best to look at the two commits in this PR completely separately:

1. The first commit fixes an API design problem I discovered while considering how to do this. I realised that when we added `CascadingParameterAttributeBase`, we made a design mistake:
   * We put the `Name` property on the abstract base class just because `CascadingParameterAttribute`, `SupplyParameterFromQuery`, and `SupplyParameterFromForm` all have a `Name`.
   * However, in all three cases there, the `Name` has completely different meanings. For `CascadingParameterAttribute`, it's the name associated with `<CascadingValue Name=...>`, whereas for form it's the `Request.Form` entry or fall back on property name, and for query it's the `Request.Query` entry or fall back on property name. In general there's no reason why a `CascadingParameterAttributeBase` subclass should have a `Name` at all (`SupplyParameterFromHttpContext` wasn't going to), and if it does have one, its semantics are specific to it. So these should not be the same properties.
   * The change we made to make `CascadingParameterAttribute.Name` virtual might even be breaking (see https://learn.microsoft.com/en-us/dotnet/core/compatibility/library-change-rules stating *DISALLOWED: Adding the virtual keyword to a member*). So it's good we can revert that here.
2. The second commit is the completely trivial implementation of supplying `HttpContext` as a cascading value, with an E2E test.

* Fix SSR redirections. Fixes #49670 (#50261)

Fixes #49670 trivially by making `HttpNavigationManager`'s redirection logic consistent with the other `NavigationManager` implementations.

You'll be wondering why there are no E2E tests with this PR. The reason is that, surprisingly, we *already* have E2E tests for these kinds of non-root redirections. However, they were falsely passing, which is tracked by https://github.com/dotnet/aspnetcore/issues/50260 and is outside the scope of this PR. I think we should address that other issue in .NET 9 as there should be no developer/API impact from leaving it as-is for .NET 8.

* API review followups (#50181)

* RazorComponentResult: change namespace, make executor internal, merge test classes

* RazorComponentResult: Nullability and trim annotations

* RazorComponentResult: IStatusCodeHttpResult and IContentTypeHttpResult

* Cleanup

* Further clean up annotations

* Remove HtmlRootComponent.ComponentId as per API review

* Rename SupplyParameterFromFormAttribute.Handler to FormName

* API review: seal

* Clarify RenderModeAttribute inheritance. Fixes #49848

* Rename valueFactory -> initialValueFactory

* Remove unnecessary sequence params

* Make [StreamRendering] default to true

* Support hot reload for Blazor component endpoints (#50031)

* Support hot reload for Blazor component endpoints

* Use alternative navigation exports

* Address feedback

* Make HotReloadService optional

* Address more feedback

* [release/8.0] Update SDK (#50276)

* [release/8.0] Update SDK

* Fix IsAotCompatible warnings

* Update nullability annotation for TemplatePart.Text

* Update CodeGen.proj to account for conditional IsTrimmable metadata

* Update Directory.Build.props.in

---------

Co-authored-by: Stephen Halter <halter73@gmail.com>

* Provide a better error (#50311)

* Remove more setup overhead in RDG benchmarks (#50302)

* Use polling to watch certificate paths (#50251)

* Cache parsable and bindable type info in RDG (#50326)

* Use absolute URLs for confirmation emails (#50297)

This PR updates the MapIdentityApi endpoints that send confirmation emails to use absolute URLs. Previously the emails used relative links which of course do not work for links in emails.

Fixes #50296

* [release/8.0] [Blazor] Close the circuit when all Blazor Server components are disposed (#50170)

# [Blazor] Close the circuit when all Blazor Server components are disposed

Allows a Blazor Server circuit to close when all root Blazor Server components get dynamically removed from the page.

## Description

The overall approach I've taken is:
1. Define what it means for the circuit to be in use (`WebRootComponentManager.hasAnyExistingOrPendingServerComponents()`):
    * There are interactive Blazor Server components on the page, or...
    * The initialization of an interactive Blazor Server component has started, but hasn't completed yet, or...
    * There are SSR'd components on the page that haven't been initialized for interactivity yet (consider stream rendering, where we don't activate new components until the response completes), but they have either a "Server" or "Auto" render mode
2. Determine the cases where a circuit's "in use" status may have changed:
    * After a render batch is applied (see `attachCircuitAfterRenderCallback` in `WebRootComponentManager.ts`)
      * An applied render batch may result in the creation/disposal of a root component
    * After an SSR update occurs, but before the first render batch is applied
      * Consider the case where an SSR'd component with a Server render mode gets removed from the page, but before the circuit has a chance to initialize
3. Decide what to do if the "in use" status may have changed (`WebRootComponentManager.circuitMayHaveNoRootComponents()`):
    * If the circuit is not in use:
      * Start a timeout with some configurable duration (`SsrStartOptions.circuitInactivityTimeoutMs`), if it hasn't started already
      * When the timeout expires, dispose the circuit
    * If the circuit is not in use:
      * Clear any existing timeout

This PR also:
- [X] Addresses a bug preventing Virtualize from working correctly when a WebAssembly and Server instance is present on the page at the same time
- [X] Adds E2E tests

Fixes #48765

* [release/8.0] Update dependencies from dotnet/runtime (#50305)

* Update dependencies from https://github.com/dotnet/runtime build 20230823.11

Microsoft.Bcl.AsyncInterfaces , Microsoft.Bcl.TimeProvider , 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.Diagnostics , Microsoft.Extensions.Diagnostics.Abstractions , 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.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.Internal.Runtime.AspNetCore.Transport , Microsoft.NET.Runtime.MonoAOTCompiler.Task , Microsoft.NET.Runtime.WebAssembly.Sdk , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , System.Collections.Immutable , System.Composition , System.Configuration.ConfigurationManager , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Diagnostics.PerformanceCounter , System.DirectoryServices.Protocols , System.IO.Hashing , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.Caching , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.AccessControl , System.Threading.Channels , System.Threading.RateLimiting
 From Version 8.0.0-rc.2.23418.14 -> To Version 8.0.0-rc.2.23423.11

* Update dependencies from https://github.com/dotnet/runtime build 20230823.5

Microsoft.Bcl.AsyncInterfaces , Microsoft.Bcl.TimeProvider , 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.Diagnostics , Microsoft.Extensions.Diagnostics.Abstractions , 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.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.Internal.Runtime.AspNetCore.Transport , Microsoft.NET.Runtime.MonoAOTCompiler.Task , Microsoft.NET.Runtime.WebAssembly.Sdk , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , System.Collections.Immutable , System.Composition , System.Configuration.ConfigurationManager , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Diagnostics.PerformanceCounter , System.DirectoryServices.Protocols , System.IO.Hashing , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.Caching , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.AccessControl , System.Threading.Channels , System.Threading.RateLimiting
 From Version 8.0.0-rc.2.23418.14 -> To Version 8.0.0-rc.2.23423.5

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update Version.Details.xml

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230824.1 (#50337)

[release/8.0] Update dependencies from dotnet/source-build-reference-packages

* Update Microsoft.Identity.Model to 7.0.0-preview3 (#50218)

* Update Microsoft.Identity.Model to 7.0.0-preview3

* fixing null refs in WsFed

* Add link to tracking issue.

* Add link to tracking issue.

* Update dependencies from https://github.com/dotnet/source-build-externals build 20230824.1

Microsoft.SourceBuild.Intermediate.source-build-externals
 From Version 8.0.0-alpha.1.23421.1 -> To Version 8.0.0-alpha.1.23424.1

* Workaround https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/2261 in a test.

---------

Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update Versions.props

* Quarantine tests (#50379)

Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>

* [release/8.0] Update dependencies from dotnet/runtime (#50350)

* Update dependencies from https://github.com/dotnet/runtime build 20230825.9

Microsoft.Bcl.AsyncInterfaces , Microsoft.Bcl.TimeProvider , 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.Diagnostics , Microsoft.Extensions.Diagnostics.Abstractions , 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.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.Internal.Runtime.AspNetCore.Transport , Microsoft.NET.Runtime.MonoAOTCompiler.Task , Microsoft.NET.Runtime.WebAssembly.Sdk , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , System.Collections.Immutable , System.Composition , System.Configuration.ConfigurationManager , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Diagnostics.PerformanceCounter , System.DirectoryServices.Protocols , System.IO.Hashing , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.Caching , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.AccessControl , System.Threading.Channels , System.Threading.RateLimiting
 From Version 8.0.0-rc.2.23423.5 -> To Version 8.0.0-rc.2.23425.9

* Update dependencies from https://github.com/dotnet/runtime build 20230826.4

Microsoft.Bcl.AsyncInterfaces , Microsoft.Bcl.TimeProvider , 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.Diagnostics , Microsoft.Extensions.Diagnostics.Abstractions , 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.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.Internal.Runtime.AspNetCore.Transport , Microsoft.NET.Runtime.MonoAOTCompiler.Task , Microsoft.NET.Runtime.WebAssembly.Sdk , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , Microsoft.NETCore.Platforms , System.Collections.Immutable , System.Composition , System.Configuration.ConfigurationManager , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , System.Diagnostics.PerformanceCounter , System.DirectoryServices.Protocols , System.IO.Hashing , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Reflection.Metadata , System.Resources.Extensions , System.Runtime.Caching , System.Security.Cryptography.Pkcs , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.AccessControl , System.Threading.Channels , System.Threading.RateLimiting
 From Version 8.0.0-rc.2.23423.5 -> To Version 8.0.0-rc.2.23426.4

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update Versions.props

---------

Co-authored-by: Stephen Halter <halter73@gmail.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Safia Abdalla <safia@microsoft.com>
Co-authored-by: Andrew Casey <amcasey@users.noreply.github.com>
Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: jennyf19 <jeferrie@microsoft.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-28 15:59:49 -07:00
dotnet-maestro[bot] e7f7c068e2
Update dependencies from https://github.com/dotnet/arcade build 20230825.2 (#50365)
[main] Update dependencies from dotnet/arcade
2023-08-28 13:30:33 +00:00
Safia Abdalla 08cde4d2df
[release/8.0] Update SDK (#50276)
* [release/8.0] Update SDK

* Fix IsAotCompatible warnings

* Update nullability annotation for TemplatePart.Text

* Update CodeGen.proj to account for conditional IsTrimmable metadata

* Update Directory.Build.props.in

---------

Co-authored-by: Stephen Halter <halter73@gmail.com>
2023-08-24 16:15:17 +10:00
dotnet-maestro[bot] de1eb8a4c7
Update dependencies from https://github.com/dotnet/arcade build 20230819.1 (#50229)
[release/8.0] Update dependencies from dotnet/arcade
2023-08-21 14:28:57 +00:00
dotnet-maestro-bot 1a1a42386a
[automated] Merge branch 'release/8.0-rc1' => 'release/8.0' (#50150)
* Update dependencies from https://github.com/dotnet/arcade build 20230815.4 (#50113)

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor
 From Version 8.0.0-beta.23411.1 -> To Version 8.0.0-beta.23415.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [release/8.0-rc1] [Blazor] Add APIs for "enhanced refresh" (#50124)

* Add NavigationManager.Refresh() + tests

* PR feedback

* Add `forceReload` parameter

---------

Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>

* Support resolving keyed services from DI in RDF and RDG (#50095)

* Support resolving keyed services from DI in RDF and RDG

* Address feedback from peer review

* Support keyed services with different keys but same arg name

---------

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>
Co-authored-by: Safia Abdalla <safia@microsoft.com>
2023-08-17 16:01:18 -07:00
dotnet-maestro[bot] 81f23df224
Update dependencies from https://github.com/dotnet/arcade build 20230811.1 (#50052)
[main] Update dependencies from dotnet/arcade
2023-08-14 13:25:37 +00:00
dotnet-maestro[bot] d95bc28f85
Update dependencies from https://github.com/dotnet/arcade build 20230804.2 (#49901)
[main] Update dependencies from dotnet/arcade
2023-08-07 13:30:42 +00:00
Eric Erhardt 94f1088552
Update SDK to 8.0.100-rc.1.23381.2 (#49761)
* Update SDK to 8.0.100-rc.1.23381.2

* Respond to new code analysis warnings.
- CA2208: Instantiate argument exceptions correctly
- CA2249: Use 'string.Contains' instead of 'string.IndexOf' to improve readability

* WasmLinkerTest: Workaround incorrect settings in the project file

Issue when updating to build with rc1:
```
/Users/runner/work/1/s/.dotnet/sdk/8.0.100-rc.1.23381.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools [/Users/runner/work/1/s/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj]
/Users/runner/work/1/s/.dotnet/sdk/8.0.100-rc.1.23381.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/Users/runner/work/1/s/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj]
```

Explanation:

1. This project has `RuntimeIdentifier=browser-wasm`, which triggers the
   workload manifests for wasm
2. But the project is *not* using blazor sdk, or the wasm-sdk.
3. The condition at 5466de081d/eng/nuget/Microsoft.NET.Workload.Emscripten.Current.Manifest/WorkloadManifest.targets (L12)

```xml
<UsingBrowserRuntimeWorkload Condition="'$(RunAOTCompilation)' == 'true' or '$(UsingMicrosoftNETSdkBlazorWebAssembly)' != 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' != 'true'" >true</UsingBrowserRuntimeWorkload>
```

   .. means that if a `rid=browser-wasm` project is not using blazor sdk,
   or the wasm sdk, then it depends on the targets in the workload. And
   hence requires the workload.

Solution:
As a workaround set `UsingMicrosoftNETSdkWebAssembly=true` also
(`UsingMicrosoftNETSdkBlazorWebAssembly` is already set to true).

---------

Co-authored-by: Brennan <brecon@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
2023-07-31 18:33:10 -05:00
dotnet-maestro[bot] 26d6e378a1
Update dependencies from https://github.com/dotnet/arcade build 20230728.2 (#49750)
[main] Update dependencies from dotnet/arcade
2023-07-31 13:25:39 +00:00
Sébastien Ros bf52af43b0
Reverting SDK (#49709)
CI is failing with the new version on ARM
2023-07-28 20:48:00 +00:00
Mackinnon Buck 725a51ca03
Update SDK to 8.0.100-preview.7.23364.32 (#49470)
* Update SDK to 8.0.100-preview.7.23364.32

* Fix package name casing

* Update global.json

* Update global.json

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: William Godbe <wigodbe@microsoft.com>
2023-07-27 21:56:06 +00:00
dotnet-maestro[bot] ffc2b6e870
Update dependencies from https://github.com/dotnet/arcade build 20230721.1 (#49597)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23358.1 to 8.0.0-beta.23361.2 (parent: Microsoft.DotNet.Arcade.Sdk)
2023-07-24 13:25:40 +00:00
William Godbe 2ab40880b8
Revert "Update dependencies from https://github.com/dotnet/arcade build 20230714.2 (#49463)" (#49520)
This reverts commit cb40b05019.
2023-07-19 15:17:47 -07:00
dotnet-maestro[bot] cb40b05019
Update dependencies from https://github.com/dotnet/arcade build 20230714.2 (#49463)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23358.1 to 8.0.0-beta.23361.2 (parent: Microsoft.DotNet.Arcade.Sdk)
2023-07-17 13:26:07 +00:00
Safia Abdalla a944ed3041
Update SDK (#49297)
* Update SDK

* Suppress temporary experimental API diagnostic

* Update Directory.Build.props

Co-authored-by: William Godbe <wigodbe@microsoft.com>

---------

Co-authored-by: William Godbe <wigodbe@microsoft.com>
2023-07-10 16:09:58 -07:00
dotnet-maestro[bot] b930c67f5f
Update dependencies from https://github.com/dotnet/arcade build 20230710.1 (#49293)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23328.1 to 8.0.0-beta.23358.1 (parent: Microsoft.DotNet.Arcade.Sdk)
2023-07-10 21:34:39 +00:00
Stephen Halter a41c91c056
Update SDK (#49034) 2023-07-06 19:49:52 +00:00
dotnet-maestro[bot] 28ed99fead
Update dependencies from https://github.com/dotnet/arcade build 20230630.1 (#49175)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23314.2 to 8.0.0-beta.23328.1 (parent: Microsoft.DotNet.Arcade.Sdk)
2023-07-05 20:23:28 +00:00
dotnet-maestro[bot] 99a8d5b863
Update dependencies from https://github.com/dotnet/arcade build 20230622.2 (#49025)
[main] Update dependencies from dotnet/arcade
2023-06-26 13:26:37 +00:00
Igor Velikorossov 85f76853eb
Update SDK (#48908)
* Update SDK

* Fix trimming annotation error

* Supress RID resolution warning

---------

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2023-06-24 01:54:43 +00:00
dotnet-maestro[bot] 85a61e0b99
Update dependencies from https://github.com/dotnet/arcade build 20230616.6 (#48895)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23309.3 to 8.0.0-beta.23314.2 (parent: Microsoft.DotNet.Arcade.Sdk)
2023-06-19 13:45:28 +00:00
Brennan 2a6eb55f61
Revert SDK update (#48787) 2023-06-13 17:24:38 -07:00
dotnet-maestro[bot] 8708726795
[main] Update dependencies from dotnet/arcade (#48357) 2023-06-14 00:19:04 +00:00
Andrew Casey 239b00d00c
Update SDK to 8.0.100-preview.6.23312.4 (#48735) 2023-06-12 18:43:20 -07:00