Relative Content

Tag Archive for blazor

Communicating with a list of components

The following code snippet does exactly what I expect, which is to provide a list of 3 items that expands to show the numeral for the written number when clicked. My question is whether a Dictionary is the proper way to track the state?

Best practice for modals in Blazor

Having the need to render contents in modal windows in blazor, one could use the approach of having the popup component in the parent page with visibility set to false and so on for the components present in it. However, this implies of having the component already rendered (even if not visible) with implications on performance.
What are the best practices for rendering modal viewports in Blazor?

Oqtane Module Development – Entity Framework

I’m writing an Oqtane module and I’m working off of the standard source code template thats generated from the platform. I can’t get any traditional entity framework commands for things like migrations to work. Has anyone had this issue? It creates a standard initial migration but you can’t run it – I get the error

Data Access in Blazor Web Apps

I’m trying to make a decision between the new Blazor Web App in .NET 8 and the stand alone Blazor WASM option. I’m not quite clear about getting data in the new unified approach.

My controller isn’t returning what it should

I’m going to try my best to include everything you’ll need to help me diagnose my issue. The database record includes a value in the Full_name field, but when I run the GetAll or GetById it isn’t returned. What am I missing? Thank you in advance!