Category "blazor-client-side"

Blazor WASM redirect to login when not authenticated - Don't show layout

I have a Blazor WASM having 2 layouts: MainLayout LoginLayout My main Index file has an Authorized attribute @page "/" @using Microsoft.AspNetCore.Authorization

OpenCV with Blazor WebAssembly?

I'd like to build a web app with Blazor WebAssembly and do some image processing on the client side with OpenCV. I'm having difficulty using OpenCV on the clien

Blazor Component not updating UI when method is invoked by other component

I have 3 components. When I want is to call the New() method of component C from component B. That works with following code (I get the Console.Writeline). But

Blazor client side verify internet connection status

Is it possible to know when the user loses the connection with the server for any kind of reason: no internet connection, server down, so on. I know this is al

Blazor 3.1 nested onmouseover events

I have an issue with nested divs both having onmouseover/onmouseout event. I have a nav menu which pops open from the side of the screen triggered by an onmouse

Blazor WebAssembly debug Program.cs

I've tried debugging in both vs code and vs.net 2019 and in both cases debugging everything bug Program.cs works. I'm trying to figure out why configuration isn

Blazor WASM doesn't hit breakpoint

I have a Blazor WASM Project with version 5 assemblies and tried to activate debugging according to this article: https://docs.microsoft.com/en-us/aspnet/core/b

Blazor WASM doesn't hit breakpoint

I have a Blazor WASM Project with version 5 assemblies and tried to activate debugging according to this article: https://docs.microsoft.com/en-us/aspnet/core/b

Embedding a Leaflet map on a Blazor SPA

How to Embed a Leaflet map on a Blazor SPA, using JSInterop, what objects should be defined, and how to pass data that represents the location clicked on the ma

Blazor Navigation Manager Go Back?

While using blazor, I want to be able to "go back" to a page I was before. I found this issue and looks like it's a dead end? This feature is something so basic

How to acess the appsettings in blazor webassembly

I currentying trying to save the api url in an appsettings. However, the configuration.Propertiers seems to be empty. I am not sure how to get the setting. in p

Better way to get browser culture in Blazor webassembly / client app

I know how to get the current culture information for Blazor server app by using HTTPContext with IRequestCultureFeature. Is there any better way to get current

How to use Bootstrap modal in Blazor client app?

I am trying to show bootstrap modal then bind its buttons. But I cannot pass the first step showing the modal. I am using Blazor client template of .net core 3.