CRUD Scaffolding from database does only work in InteractiveServer mode

Hi all,

It seems that the scaffolding possibilities (create CRUD forms from database) using the Radzen Blazor for Visual Studio extension only works in case you create a BlazorServer type of project (InteractiveServer mode), but not when you use InteractiveWebAssembly or InteractiveAuto, which creates 2 projectes (a client and a server host), when you then right-click either the "server" or "client" project and select "Add > Radzen Blazor ..." > DataSource then the "Loading Templates" screen is just showing the progression bar which just keeps turning.

So my question: what about InteractiveWebAssembly mode or InteractiveAuto mode and scaffold CRUD pages from a database datasource, how does this work ?

thx,
Emmanuel.

That's definitely not true - CRUD templates will work normally in any of the render modes. While in server render they can access the DbContext directly, in WASM they will use OData service to communicate with the server DbContext.

Hi @Emmanuel_Nuyttens,

This is not a known issue and I can't seem to reproduce it. Here is what I see when I do add new data source:

data-sources

Hi enchev,

Ok thx for your valuable reply. It seems to work now after restarting the application and selecting the "Pages" folder, next added the scaffolding and it works. On first attempt i right-clicked the "Project" itself to add the scaffolding but this blocked the scaffolding wizard, but ... restarted and now this also seems to work correctly. Issue may be that something blocked my scaffolding folder temporarly, but it seemed transient. Anyways thx for your response.
Kind regards,
Emmanuel.

Hi Korchev, Ok seems to work now, maybe my scaffolding folder was blocked temporarly for write actions. Anyways the scaffolding template shows up now and i can select my database (sql-server) tables and scaffolding works.

Kind regards,
Emmanuel Nuyttens