Relative Content

Tag Archive for blazor

Bootstrap theme breaking on page navigation or hot reload

I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?

Bootstrap theme breaking on page navigation or hot reload

I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?

Bootstrap theme breaking on page navigation or hot reload

I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?

Bootstrap theme breaking on page navigation or hot reload

I implemented a Bootstrap theme using Blazor. Everything seems to work properly, except when I navigate to a new page or use hot reload in Visual Studio. In those cases the css seems to break a bit (but not massively). A reload fixes it. Does anybody have any idea how I can fix this or figure out what’s going on?

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 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?