Blazor 8 sample: multiple DB reloads
I’m using the MS sample (https://github.com/dotnet/blazor-samples) as it’s about all I need to re-write reports for a legacy DB. I notice it seems to reload from the DB without interaction from me i.e. just opening the home page. It seems like it’s going into home.razor a number of times (e.g. it hits my breakpoint on _lastPage initialization) causing it to query the DB each time. With the simple/local DB they use that’s not much of a performance issue but with a real/remote DB it adds a lot of time.
So what’s triggering the ‘refresh’ and can/should I avoid it?
Blazor Force all child components refresh
How to force all childs refresh even if no child parameters are changed by parent?
Actually is there any way to call StateHasChanged()
on parent and all childs refresh?
What to do and what to do when Blazor Server application freezes [closed]
Closed 31 mins ago.
Choosing an architecture – advantages and disadvantages of Blazor [closed]
Closed 1 min ago.
On change event for input select isnt firing
I am having the below inputselect and all I want is a cascading ones, so if you choose a branch, the tables will be filtered. I’ve been stuck for over a week and not sure why its not working.
Sort ValidationMessageStore by display order attribute
I’m using Blazor Web App and have a component that uses EditForm and ValidationSummary. All works well, except I want to sort the error messages by the order specified in my model. Here’s my simpified-for-example model:
Blazor Navigation on a Condition
In a Blazor server application I have the following code in markup part:
In Blazor .net 8 , where do I load and store user details?
In MVC, I handled the “session_start” event to load user details and store them in a session variable, so I didn’t have to query the database with each page load.
Blazor EventCallback from a SSR parent to an InteractiveServer Child Component is Null
I have a SSR Parent component with a Child component with InteractiveServer render mode. I need this child component to be interactive so that I can bind to events like @onclick etc. I want to pass data/value back to the parent using EventCallback but this delegate is never set I guess due to different render modes, is there another way to do this?
blazor client project css stylesheet file not found
Folks, i have looked but not able to find an answer to what i imagine should be pretty straightfotward.