1. 02 9月, 2023 2 次提交
  2. 01 9月, 2023 4 次提交
  3. 31 8月, 2023 3 次提交
  4. 30 8月, 2023 11 次提交
  5. 29 8月, 2023 9 次提交
    • W
      Fix error message in CodeCheck file (#50375) · e4b318b1
      William Godbe 提交于
      * Fix error message in CodeCheck file
      
      * Update CodeCheck.ps1
      
      * Update CodeCheck.ps1
      e4b318b1
    • D
      Update dependencies from... · bde033e9
      dotnet-maestro[bot] 提交于
      Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230828.2 (#50396)
      
      [release/8.0] Update dependencies from dotnet/source-build-reference-packages
      bde033e9
    • D
      [release/8.0] Update dependencies from dotnet/extensions dotnet/efcore (#50293) · 314396ef
      dotnet-maestro[bot] 提交于
      [release/8.0] Update dependencies from dotnet/extensions dotnet/efcore
      314396ef
    • D
      [release/8.0] Update dependencies from dotnet/source-build-externals (#50371) · 848eda42
      dotnet-maestro[bot] 提交于
      [release/8.0] Update dependencies from dotnet/source-build-externals
      848eda42
    • D
      [automated] Merge branch 'release/8.0' => 'main' (#50281) · 9402bfac
      dotnet-maestro-bot 提交于
      * 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: NStephen 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: Ndotnet-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: NEric Erhardt <eric.erhardt@microsoft.com>
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      
      * Update Versions.props
      
      * Quarantine tests (#50379)
      Co-authored-by: NMackinnon 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: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      
      * Update Versions.props
      
      ---------
      Co-authored-by: NStephen Halter <halter73@gmail.com>
      Co-authored-by: Ndotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: NSteve Sanderson <SteveSandersonMS@users.noreply.github.com>
      Co-authored-by: NSafia Abdalla <safia@microsoft.com>
      Co-authored-by: NAndrew Casey <amcasey@users.noreply.github.com>
      Co-authored-by: NMackinnon Buck <mackinnon.buck@gmail.com>
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: Njennyf19 <jeferrie@microsoft.com>
      Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
      Co-authored-by: NWilliam Godbe <wigodbe@microsoft.com>
      Co-authored-by: Ngithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
      9402bfac
    • D
      [release/8.0] Update dependencies from dotnet/runtime (#50350) · c4d49b44
      dotnet-maestro[bot] 提交于
      * 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: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      c4d49b44
    • M
      Quarantine error notification tests (#50378) · f71e2c55
      Mackinnon Buck 提交于
      f71e2c55
    • G
      Quarantine tests (#50379) · 051c94a8
      github-actions[bot] 提交于
      Co-authored-by: NMackinnon Buck <mackinnon.buck@gmail.com>
      051c94a8
    • D
      Update NavMenu.razor to use project name (#50194) · a41f63f5
      Daniel Roth 提交于
      a41f63f5
  6. 28 8月, 2023 2 次提交
  7. 26 8月, 2023 8 次提交
    • A
      Update area-owners.md (#50339) · 4a9118c6
      Andrew Casey 提交于
      * Update area-owners.md
      
      Removed area-runtime, titled notes column, added notes, fixed whitespace to make markdown readable.
      
      * Apply suggestions from code review
      4a9118c6
    • E
    • J
      Update Microsoft.Identity.Model to 7.0.0-preview3 (#50218) · fcc98f5c
      jennyf19 提交于
      * 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: NEric Erhardt <eric.erhardt@microsoft.com>
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      fcc98f5c
    • D
      [main] Update dependencies from dotnet/source-build-reference-packages (#50257) · 41152985
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230821.1
      
      Microsoft.SourceBuild.Intermediate.source-build-reference-packages
       From Version 8.0.0-alpha.1.23414.1 -> To Version 8.0.0-alpha.1.23421.1
      
      * Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230824.1
      
      Microsoft.SourceBuild.Intermediate.source-build-reference-packages
       From Version 8.0.0-alpha.1.23421.1 -> To Version 8.0.0-alpha.1.23424.1
      
      ---------
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: NMackinnon Buck <mackinnon.buck@gmail.com>
      41152985
    • D
      Update dependencies from... · e0e74adc
      dotnet-maestro[bot] 提交于
      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
      e0e74adc
    • D
      [main] (deps): Bump src/submodules/googletest (#50336) · ddbe91c4
      dependabot[bot] 提交于
      Bumps [src/submodules/googletest](https://github.com/google/googletest) from `f42da0e` to `460ae98`.
      - [Release notes](https://github.com/google/googletest/releases)
      - [Commits](https://github.com/google/googletest/compare/f42da0e4431a14260946323bff4d856f20973b2c...460ae98267b83db4ca2730d368d53f8aee3b636e)
      
      ---
      updated-dependencies:
      - dependency-name: src/submodules/googletest
        dependency-type: direct:production
      ...
      Signed-off-by: Ndependabot[bot] <support@github.com>
      Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      ddbe91c4
    • D
      [release/8.0] Update dependencies from dotnet/runtime (#50305) · 9a79397a
      dotnet-maestro[bot] 提交于
      * 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: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      9a79397a
    • M
      [release/8.0] [Blazor] Close the circuit when all Blazor Server components are disposed (#50170) · 8a50cd5c
      Mackinnon Buck 提交于
      # [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
      8a50cd5c
  8. 25 8月, 2023 1 次提交