Markdown files in Blazor project
I am creating a simple portfolio/logbog website for a school project (computer science). It is written in Blazor with server-side rendering.As it is right now, my entries/posts are saved as a...
View ArticleBlazor Server: Unique Id For Distinguish Clients
Ok I'm trying to detect requests source in Custom AuthenticationStateProviderSo here is my tries:Session Id not working because every request retrieves tottally new id in same browser because of...
View ArticleConditionally hide text fields in Blazor
I have a dropdown list with options '1' and '2' and text fields with the same names. My goal is that when I select option '1' from the list, only the text field named '1' should appear. When I select...
View ArticleJetBrains Rider does not recognize MudBlazor components imported via global::...
I am using JetBrains Rider 2025.3.2 on macOS with a MudBlazor project targetting .NET 8, C# 12. The project builds and runs correctly, and the same codebase works without any issues in Visual Studio,...
View ArticleAdding Razor Pages from another project into Primary Blazor Web App Project
I've moved the scaffolded Dashboard Razor Page from a blazor server app into a separate project(RCL). There are no build/compile or runtime errors. The project runs. I am trying to develop a modular...
View ArticleJavaScript breakpoints are never hit while debugging Blazor web app (.Net 10)
Created simple web app, added one page to test invoking JavaScript.The JS works fine but I am unable to hit a breakpoint in the JavaScript.I have the 'Script Debugging' set to Enabled in Visual Studio...
View ArticleHow to change default settings like Formats > Blocks > Paragraph in TinyMCE...
In the image below you can see the checkmark beside paragraph. How do I set that to default to Div?I'm using Blazor and am using a dictionary to populate the Conf attribute like this:Razor:<Editor...
View ArticleProblem with local razor.css file on Visual Studio/Blazor Web Assembly...
I'm developing my own website, on Visual Studio/Blazor Web Assembly Standalone, in which I have a MainLayoutenter image descriptionenter image description here here, and I've added a local razor.css...
View ArticleXmlSerializer error deserializing to XElement in Blazor WebAssembly
I have a Blazor web project that I encountered a problem with when I published to a test server. Everything had been working when running in VS2026. I open an XML document via a stream and deserialize...
View ArticleBlazor app referencing wrong css file after adding references to ElectronNET
My Blazor app runs fine in the browser, but the styles break as soon as I add references to ElectronNET.Core and ElectronNET.Core.AspNet (per the docs).Without ElectronNET, the CSS file is named...
View ArticleBlazor .NET 10 dependency injected service call is not even firing
I have an issue with Blazor not firing or completing the call when I inject a service interface to make some backend/database calls and use that in my page.I have a service layer with an interface like...
View ArticleUsing @attribute [Authorize(Policy = "...")] throws IAuthenticationService...
I am trying to use policy-based authorization in a Blazor Server app using the Razor attribute:@attribute [Authorize(Policy = "PolicyName")]After adding app.UseAuthorization() and...
View ArticleBlazor Server Policy Failing with "The trust relationship between the primary...
This is a Blazor Web App using global server interactivity on .NET 10.I use our internal Windows Active Directory to assign custom roles, which I have not experienced a problem with. However, after...
View ArticleSafeArea not functioning on Android devices with notches (e.g., Pixel 7) in...
I'm experiencing an issue in my .NET MAUI Blazor application where the SafeArea does not function as expected on Android devices with notches, such as the Pixel 7. This issue began after updating the...
View ArticleBlazor Server Side IIS Hosting Issue
Pulling my hair out trying to set up a Blazor Server Side application on IIS.I've already installed the application on one test server without too much difficulty however I've now run into difficulty...
View ArticleIn a Blazor project, can I download a file without js interop?
The premiseI'm working on a Blazor program which handles a database of companies and related CRUD operations.I'm on .NET 8.0, writing on Visual Studio Community 2026 v. 18.3.0, with InteractiveServer...
View ArticleNo compatible code running on thread when debugging Blazor WASM Standalone
I created a brand new Blazor WASM standalone project configured to use Microsoft Entra. Everything works fine, but I can't even put a breakpoint to inspect anything in my code.I get the following error...
View ArticleIn MudBlazor's DataGrid, how do I change the labels on default filters?
MudBlazor has a DataGrid component that comes with robust, out-of-the-box filtering capabilities. I am using the mode DataGridFilterMode.Simple, which provides a popover to apply filters to all columns...
View ArticleWhat would cause Blazor components in an ASP.NET Core MVC app to stop working...
I've been trying to upgrade my Orchard Core modules to .NET 10 and have been having an issue with my Blazor module.I'm getting an error405 - Method Not Allowedon a request to...
View ArticleIn MudBlazor's MudStepper Icon is not getting displayed
Trying to Make Mud Stepper dynamically. I have four steps to show. It should display with icon and title. But Its showing title and numbers instead of icon. Do we need to install some specific library...
View ArticleIs there a Blazor equivalent to WinForm's PropertyGrid?
I have a long overdue UI upgrade for a WinForms application and am going to make it a Blazor app. The legacy app configuration is made using WinForm's PropertGrid. Is there an equivalent Blazor...
View ArticleHow to transfer session data from SSR to Interactive mode in Blazor?
everyone!!I am a student who has just started learning Blazor (.NET 8/10), and I am completely confused about how to correctly transfer session data from SSR (server-side rendering) to Interactive...
View ArticleOIDC Authentication Fails on Public URL Behind Reverse Proxy IIS
I am using WSO2 Asgardeo authentication for my Blazor WebAssembly hosted application.The application is hosted on an internal server:https://test.myapp.localI have configured a reverse proxy on another...
View ArticleBlazor pipeline broken when introducing authorization
I've been wrestling with this for quite a while now. I have a working blazor (auto - hybrid) project called CustomerPortal and it created a CustomerPortal.Client for me as well.I created a 2 razor...
View ArticleAdd a text above an image using MudBlazor
I need to implement this kind of view using mudblazor image components:I got the images correct, but how can I add text on top of the image like in the picture above? Here is my...
View ArticleBlazor dynamic meta tag encoding issue
EDITED: I do have <meta charset="UTF-8"> in my MainLayour.razor.Using Blazor on .NET 9.0, I have the following in my MainLayout.razor<meta name="title" content="@this.MetaTitle">and in the...
View ArticleAuthorizeRouteView Authorizing and NotAuthorized parameters settings
I wanted to use the NotAuthorized attribute in the <AuthorizeRouteView> tag to redirect to the login page every time a non logged-in user try to access a page.Howewer, it requires a...
View ArticleBlazor spinner component and service
Two failed attempts at making a spinner component. I can't explain what's going on.Using a service I need to add @rendermode InteractiveServer to make the @onclick do anything, but then when clicked...
View ArticleBest Practice passing object to component blazor
I need advice or an idea how this can be improved - what is the correct (or better) way to passing a large object?I have a page called Tracker.razor. This page was specifically only for grabbing data...
View ArticleAzure Web App | Deployment Error - Framework-dependent is an invalid value...
I am trying to deploy a web application in Blazor (.NET 8) using Visual Studio 2022.I have linked my Azure account and I'm trying to deploy the web application in one of my Azure web apps.When...
View Article