Skip to content

DatabaseDeveloperPage is not shown for pending model changed by default with EF 9.0 #57204

Open
@AndriySvyryd

Description

@AndriySvyryd

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

EF 9 now throws an exception by default when MigrateAsync is called when there are pending model changes and this isn't detected by DatabaseDeveloperPage.

As a workaround, it can be configured to just log a message, see c7cc6eb

Expected Behavior

Consider special-casing this exception.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

9.0-rc1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-diagnosticsDiagnostic middleware and pages (except EF diagnostics)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions