Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Browsing all 4147 articles
Browse latest View live

Show details of uncaught exception in Blazor UI

We have a customer that is using a custom browser, which doesn't allow them to open the console to see the logged error messages. Unfortunately we don't have access to their system so we need to...

View Article


How to use custom JWT Authentication in .NET 8 Blazor App with Auto Render Mode

when I create a Blazor application it generates server and client application. I am creating Api's in the server side of the application. So when app is render it is render in server mode and my pages...

View Article


Blazor server circuits management

I'm trying to improve one functionality I have done some months ago to use it on another part of the project. (Blazor server)The original functionality was for be able to logout/close the user circuit....

View Article

Use ErrorBoundary without setting InteractiveServer render mode globally

I removed the ‍@rendermode from the \<Routes /\> at the App.razor page in-order to access the HttpContext at the Login Component. This is to create a cookie for the Authentication purpose. Now,...

View Article

How Do I Create a DbContextFactory Within a Blazor Background Service?

I am working on my first Blazor Server application, which is also my first Entity Framework Core application. I am wanting to set up a background service which, once a day in the early morning, checks...

View Article


Telerik Dynamic Validation Message not displaying

Hi guys I wanted to create dynamic input fields validation in Telerik UI. For example when the user clicks submit the validation message bellow each Car Name input field should display “Car Name name...

View Article

Blazor .NET 8 LINQ vs Async Function

Which one is better to use and why?ApplicationUser? user = await _userManager.FindByIdAsync(userId);ApplicationUser? userOne = _userManager.Users.Where(u => u.Id == userId).Single();Return a...

View Article

Tailwind + Razor Class Library as NuGet Package

I need to create a Razor Class Library with components for Blazor.The components within this library will have Tailwind CSS classes in their markup, but no Tailwind installed.This library needs to be...

View Article


How to navigate from Blazor to external page in the same domain

Let's say we have a simple Blazor WebAssembly app with the following pages/index/counter/fetchdataThis app is hosted within an MVC app that has the following routes/login/logoutThe problem is when...

View Article


Altering indexed bitmap's byte array breaks image display

I'm loading a .PNG file with a 1-bit color depth (so, indexed), converting it to a byte array, JSON-serializing it, and sending it as a response to a call to a web API by a Blazor web assembly app,...

View Article

Blazor Server Application manage list item for multiple users

I am new to Blazor and have a basic question which I am not sure how to acheive this. I am building a POS Application in which users will have Touch application to sell products.Now, I have all...

View Article

no websocket network activity when debugging a Blazor serverside app locally

I'm working on a Blazor app (.net 8, server side, Visual Studio 2022) and I'm not seeing any WebSocket network activity at all when debugging and running locally in Chrome. The app works ok, it fetches...

View Article

Image may be NSFW.
Clik here to view.

Failed to find a valid digest in the 'integrity' attribute for resource in...

I have a Blazor client/server app that I have been working on for a period and it has been working fine up to now. I suddenly started getting this errorFailed to find a valid digest in the 'integrity'...

View Article


Blazor Hot Reload problem with HttpContextAccessor

when i launch my application it works fine but when i change something and save it (doesn't matter in which component) hot reload is not working as expected it says:System.NullReferenceException:...

View Article

Call Javascript directly from Blazor "HTML" section

A .razor component file is defined with a "HTML" section, in which you can define the HTML of your component, and a @code {} section in which C# code can be written to add logic to the component.I know...

View Article


Image may be NSFW.
Clik here to view.

Unhandled exception rendering component: Unable to set property 'CaptchaWord'...

I use a nugget package that named is BlazorCaptcha in my Blazor project. My project is built and displaying on browser successfully. But BlazorCaptcha tag disappear from the page and in the console of...

View Article

Image may be NSFW.
Clik here to view.

Change DateTime output or Format the order

I am using Blazor and I have an this input date field.<div class="input-group"><InputDate name="To Date" class="form-control rounded-2" @bind-Value="auditForm.toDate"...

View Article


Memory not freed when loading data into a pivot view and leaving the page or...

I have a memory problem in our webapp when loading a bit of data into a pivotview/grid (~20k/30k rows). The problem is not really that the usage is too high or anything, but rather that it is not...

View Article

Blazor .Net 8 auto rendering and Mediatr

I have recently started a new Blazor web project with .net 8 and autorendering (SSR, Server and WebAssembly) and Clean Architecture.For the moment, I'm still using the architecture of the original...

View Article

How to pass multiple parameters on onchange in blazor

Is it possible to pass multiple parameters to onchange event in blazor?.If it is not possible, may I know what are my options. Thank you.Requirement: User should have the ability to set color of their...

View Article
Browsing all 4147 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>