Search code examples
c#scaffoldingblazor.net-core-3.0

Blazor: creating a razor page returns Error: "There are no scaffolders supported for this item"


I'm getting started with Blazor following this INSTRUCTIONS I'm using ".NET Core 3.0 Preview SDK" and "Visual Studio 2019 preview".

Following this tutorial I'm encountering an error creating a razor page client side:

"There are no scaffolders supported for this item"

I found a very unhappy statement (bottom page at solutions)that makes me think isn't just my problem;

I looked up question similar to mine (first, second); the second solution seams pretty straight forward, but the "razor page" created returns a bunch of errors, did I miss something?

my code is HERE

Thank you in advance


Solution

  • "There are no scaffolders supported for this item"

    Blazor employ Component Model, which does not have any supports for scaffolders, at least not right now. To get rid of these error ? Simply remove everything related to the Default UI, used in Razor Pages and MVC. Again,you should not add the Default UI. Read my previous answer and comments.

    I'd suggest you to proceed with my code snippet in my previous answer...

    Note: There is no "Razor Page" term or concept in Blazor. "Razor Page" refers to the "Razor Pages" framework, the newly added framework. In Blazor, one may speak of Razor Components or Blazor Components (preferably, to my mind).

    Hope this helps...