5,429 questions
Advice
0
votes
1
replies
25
views
Bringing over legacy vb.net code into Blazor through class library?
I have a question regarding the best method of bringing over a legacy WCF service written in vb.net into a new Blazor server-side application.
When planning out how to do this, the obvious solution ...
1
vote
0
answers
63
views
How do I fix the broken reconnect modal when upgrading a Blazor server app from .NET 9 to .NET 10?
Repro steps
Create a new Blazor server app in VS 2026, targeting .NET 9
Edit the .csproj file and change the target framework to .NET 10: <TargetFramework>net10.0</TargetFramework>
Start ...
Tooling
1
vote
1
replies
28
views
Set global CSS breakpoints in Blazor
I would like to set the CSS breakpoints globally in Blazor. What are some approaches? I prefer something that keeps the code or additional libraries quite simple.
1
vote
0
answers
44
views
How to add Authorization: Bearer <token> header to Strawberry Shake client after login in Blazor Server?
I'm using Blazor Server with Strawberry Shake 15.1.10.0 to consume a GraphQL API.
Here's the flow:
User logs in via a regular API call (SignInAsync(username, password))
The API returns a JWT token (...
Advice
0
votes
0
replies
141
views
How do I test Blazor Server from Playwright?
I have the following code to start up a kestrel server on a random port.
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Hosting.Server....
1
vote
1
answer
65
views
Blazor using InteractiveServer (for admin area /admin/*), and purely static SSR for user facing site?
Does anyone know if there's an easy way in Blazor to have:
A frontend/'user facing' site using Blazor Static SSR I don't want to include blazor.web.js, no enhanced navigation or streaming rendering ...
Advice
1
vote
0
replies
73
views
ASP.NET Core embedded Blazor
Preamble
In our current setup, I am developing a class library that acts as a plugin to our platform. This "works" because the executable scans its own directory and automatically loads ...
Advice
0
votes
3
replies
63
views
How to get values from multiple dynamically generated components in an editform
Hopefully someone can advise me how to get out of this corner I've coded myself into! I'm pretty new to Blazor and have never created a dynamically generated form before. I THOUGHT I was on the right ...
2
votes
1
answer
96
views
Blazor - StateHasChanged not updating after Radzen Button OnClick
In my Blazor server-side application, I have a component with a button that, when clicked, displays a "Loading" bar while I check to make sure a all of my required text fields are not blank.
...
0
votes
2
answers
93
views
.NET 8 Blazor - Equally dynamically sized buttons in a table without JS
I'm using .NET 8 & Blazor, and ONLY css/html/C# - no JS.
Goal: match all buttons to the largest button in any of the cells dynamically. As any button could change size (Usually becoming larger ...
0
votes
1
answer
66
views
Blazor Server LDAP Authentication Fails with “In order to perform this operation a successful bind must be completed”
I’m implementing LDAP user authentication in a Blazor Server application using Novell.Directory.Ldap (LDAPS, port 636).
The goal is to allow users to log in with their Active Directory credentials.
...
0
votes
1
answer
63
views
How do I handle empty files in Blazor Server InputFile after cancelling?
I'm coding a Blazor Server Web Application, specifically a form. I'm struggling with an InputSelect field, and I couldn't find any solution to this specific problem.
Here's a basic example I made ...
0
votes
1
answer
53
views
Blazor - Calling @code function from HTML not correctly displaying data
I've built a Blazor application, and I wrote some logic in a for-each loop to display some data. The logic is meant to go something like this: for every job type, display the jobs for that particular ...
0
votes
0
answers
32
views
Blazor - AuthorizeRouteView causing ERR_CERT_DATE_INVALID error
I am attempting to use a cascading authentication state in my Blazor application. I have utilized this custom authentication in previous Blazor applications and haven't yet come across this issue. ...
0
votes
0
answers
66
views
Blazors <EditForm> component cannot be used to submit login forms on SSR pages. [.NET 9.0 | InteractiveAuto solution]
I am using .NET 9.0, my statically rendered login page results in an error when it's submitted:
A valid antiforgery token was not provided with the request. Add an antiforgery token, or disable ...