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 ArticleHow 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 ArticleBlazor 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 ArticleUse 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 ArticleHow 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 ArticleTelerik 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 ArticleBlazor .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 ArticleTailwind + 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 ArticleHow 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 ArticleAltering 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 ArticleBlazor 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 Articleno 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 ArticleFailed 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 ArticleBlazor 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 ArticleCall 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 ArticleUnhandled 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 ArticleChange 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 ArticleMemory 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 ArticleBlazor .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 ArticleHow 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