Open Closed

Why is the model null? #5704


User avatar
0
yunusemrecaglar created
  • ABP Framework version: v7.3.1
  • UI Type: Blazor Server
  • Database System: EF Core ( PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

hi, The model is coming as null, just like in the screenshots I sent above. What could be the reason for this? I'm passing the model where I'm calling the page.


1 Answer(s)
  • User Avatar
    0
    jfistelmann created

    Hey,

    what is it exactly what you're trying to do here?

    You wrote that you're using Blazor Server, but the code is MVC. Are you building a Widget?

    If so, can you share the complete code that is related to that Widget along with the code on how it is invoked?

    The first thing that seems strange to me (in case we're talking about a widget here) is the @page directive - which a Widget does not need.

    Also: What exactly is null (Exception details)?

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19