Skip to content

Dashboard error after starting AppHost on 9.1. #7595

@afscrome

Description

@afscrome

Another 9.1 issue that I've only seen once but haven't been able to reproduce since. After starting the app host, I was greeted with a blank page for the dashboard, with the following error in the app host logs. Refreshing the page continued to result in a blank page, but the dashboard did render successfully after opening in a new tab.

fail: Aspire.Hosting.Dashboard.Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
      Unhandled exception in circuit 'jlC3xF46gfX-7rOByTwJKesQ-vv7rm9sx5UV2ggBgY0'.
      System.InvalidOperationException: EditForm requires either a Model parameter, or an EditContext parameter, please provide one of these.
         at Microsoft.AspNetCore.Components.Forms.EditForm.OnParametersSet()
         at Microsoft.AspNetCore.Components.ComponentBase.CallOnParametersSetAsync()
         at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

Versions

   <Sdk Name="Aspire.AppHost.Sdk" Version="9.1.0-preview.1.25111.2" />
    <PackageReference Include="Aspire.Hosting.AppHost" Version="9.1.0-preview.1.25111.2" />
    <PackageReference Include="Aspire.Hosting.PostgreSQL" Version="9.1.0-preview.1.25111.2" />

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions