Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
1 replies
28 views

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 ...
gbm0102's user avatar
  • 143
1 vote
0 answers
65 views

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 ...
Avrohom Yisroel's user avatar
Tooling
1 vote
1 replies
29 views

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.
PizzaOverflow's user avatar
1 vote
0 answers
45 views

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 (...
javatunix's user avatar
Advice
0 votes
0 replies
141 views

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....
Peter Morris's user avatar
  • 23.5k
1 vote
1 answer
65 views

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 ...
Zak123's user avatar
  • 455
Advice
1 vote
0 replies
73 views

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 ...
Noel Frostpaw's user avatar
Advice
0 votes
3 replies
63 views

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 ...
Wilock's user avatar
  • 51
2 votes
1 answer
97 views

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. ...
gbm0102's user avatar
  • 143
0 votes
2 answers
93 views

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 ...
DrakeWalker's user avatar
0 votes
1 answer
66 views

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. ...
RoboDev's user avatar
0 votes
1 answer
63 views

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 ...
Gabriel A.'s user avatar
0 votes
1 answer
54 views

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 ...
gbm0102's user avatar
  • 143
0 votes
0 answers
32 views

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. ...
gbm0102's user avatar
  • 143
0 votes
0 answers
66 views

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 ...
Sunkist's user avatar
  • 19
1 vote
1 answer
74 views

Background I have a Blazor server-side app I'm building which will be a music sheets website. I'm having trouble running JavaScript code for a context menu. I've started adding a custom context menu, ...
SendETHToThisAddress's user avatar
0 votes
0 answers
89 views

I'm building a web application using a Blazor web app. The interactive render mode is set to server and interactivity location is set to "Per Page / Component". I've integrated a ready ...
Hosein Heidarzadeh's user avatar
1 vote
1 answer
50 views

I have a series of nested components. In an inner component, I'm using a 3rd party vendor component. I then also wrap that component in an outer component, then place the outer component on the page. ...
Jeremy's user avatar
  • 46.8k
1 vote
0 answers
58 views

I'm building a Blazor Server app with a Minimal API endpoint for login. Everything seems to work server-side: My CustomAuthenticationStateProvider correctly updates the AuthenticationState via ...
Yekopoie's user avatar
0 votes
0 answers
99 views

I am getting an intermittent exception in the console from the DOM: Uncaught (in promise) Error: System.InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is ...
Ian Jowett's user avatar
1 vote
1 answer
67 views

I can't get the check-in and check-out dates I entered on the form. When I enter the values and submit, I see the default values I assigned at the beginning(Datetime.Now and the next day), and I don'...
Yekopoie's user avatar
0 votes
1 answer
50 views

I am attempting to implement a redirect to login on unauthorized pages. I think I have removed all hardcoded values that redirect to Account/Login?returnUrl=... but blazor insists on redirecting to ...
jdev9487's user avatar
  • 161
0 votes
1 answer
48 views

I have two ASP.NET Core applications: Blazor Server app with Identity authentication (working correctly) Web API that should share authentication cookies with the Blazor app The API is not ...
PeacefulWarrior22's user avatar
0 votes
2 answers
346 views

I'm trying out Microsoft's Semantic Kernel for chat completion in a Blazor app. I added a service that uses EF Core: public interface ISearchService { Task<string?> GetCustomerAsync(string ...
Ivan Debono's user avatar
  • 1,016
2 votes
1 answer
55 views

I'm creating a MudTable with some data, and I want to open a MudDialog to edit the row data and then save it. <MudTable T="Company" items="@_Companies" Dense=true Hover=true ...
Ferran Muñoz's user avatar
0 votes
0 answers
91 views

I’m working on a .NET MAUI Blazor Hybrid app and trying to generate an APK using the following command: dotnet publish -f net9.0-android -c Release -p:AndroidPackageFormat=apk My solution contains ...
amanpreet's user avatar
0 votes
0 answers
100 views

I created a new Blazor Web App (very important as WASM does work). I have the "Hot Reload" checkbox checked: When I start it up, it starts up like this: info: Microsoft.Hosting.Lifetime[14] ...
Bluebaron's user avatar
  • 2,526
0 votes
0 answers
45 views

I'm currently building a Blazor Server application, and migrating code from an old AngularJs / ASP.NET MVC website. Part of that migration includes translating the html in the Angular pages into C# in ...
PKD's user avatar
  • 706
2 votes
0 answers
52 views

I’m encountering an issue in a Blazor app where the Dispose() method of a parent component is called before the Dispose() of its child components. Context: We have a component called DataFence which ...
LostSoul's user avatar
  • 431
0 votes
0 answers
39 views

I'm trying to understand if is possible to have one <ErrorBoundary> for my whole .NET 8 Blazor server application. The "rendermode" is not globally set to be "InteractiveServer&...
furybg's user avatar
  • 23
1 vote
1 answer
91 views

I created a custom validation attribute: [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class MinByteLengthAttribute(string lengthPropertyName) : ValidationAttribute { ...
Ivan Debono's user avatar
  • 1,016
0 votes
1 answer
52 views

I am creating a Blazor server-side web application to have users update some Active Directory fields. The systems manager is making a security group to place users in so he can control what fields in ...
Red_Phoenix's user avatar
0 votes
1 answer
57 views

I need to display a cookie consent message on my Blazor server page and following the solution explained on How to set consent cookie in Blazor Server. The solution works on the development machine, ...
Tom's user avatar
  • 192
1 vote
1 answer
157 views

I'm using Microsoft.FluentUI.AspNetCore.Components.DataGrid in a Blazor Server project. I want to use infinite scrolling with ItemsProvider and Virtualize="true". I'm using ItemsProvider ...
hanushi's user avatar
  • 171
1 vote
1 answer
127 views

I started a project as .NET Minimal API - no UI whatsoever. Then I needed to add a visual tool for the API, to show what the service is doing. For UI I wanted to use Razor pages and components, as it ...
Sten Petrov's user avatar
  • 11.1k
0 votes
0 answers
20 views

I have started a new Blazor server app via this call dotnet new blazor --name RateWeb -au Individual --force I can login and out and the auth mechanism works as long as I do not use @attribute [...
Jan Gravgaard's user avatar
0 votes
0 answers
90 views

I'm a believer of a thin client architecture, and hence use Blazor United, and only use the Blazor Server rendering process. I tried adding in authentication, using MS Entra, to the blazor App. this ...
codeputer's user avatar
  • 2,020
2 votes
1 answer
85 views

Adding @* This returns the description of the selected item based on its id *@ ToStringFunc="id => dataLoader.GetDescriptionFromList(brandModelsList, id)" causes the MudSelect ...
Panos kent's user avatar
0 votes
1 answer
50 views

To test a problem I'm having, I have set up fresh a .NET 9 Blazor web app (server, global) with individual accounts. I added 2 pages to Pages, Page1 and Page2. On Page1, I set up 2 buttons, one uses ...
Norbert B.'s user avatar
  • 5,728
1 vote
0 answers
50 views

I have a Blazor server-side app (.NET 8) that connects to an external IdP. Most of the times it works fine. However, once in a while the app enters into an infinite redirect loop when the user logs in....
Ivan Debono's user avatar
  • 1,016
0 votes
1 answer
78 views

I have a Blazor Server Side Web App (NOT a WebAssembly app) and I have a separate API Server. I want to use JWT tokens for all communications with the API Server from the Blazor Server Side Web App so ...
Age of Empires's user avatar
1 vote
0 answers
81 views

I am trying to use <CascadingValue> to pass down an instance of a component so that I can easily access its api in dependent sub components (Grid, and GridColumn for example). Say my setup is ...
LostSoul's user avatar
  • 431
0 votes
0 answers
107 views

I started learning C# a while ago with Tim Corey's course and while it is a bit outdated in Visual Studio version, I never had a problem similar to this. I wrote a simple piece of code which takes a ...
Rhank's user avatar
  • 1
0 votes
0 answers
66 views

I have a Blazor web application. It running in a docker compose with 2 databases. It uses a SignalR Hub references as TacticsHub. It was working fine with Visual Studio and Visual Studio code. I could ...
Dubai's user avatar
  • 1
0 votes
0 answers
42 views

I'm trying to run Blazor Server App on my Windows 2012 server. I uploaded .Net v 8 hosting package (dotnet-hosting-8.0.18-win.exe), ran it and restarted the server Manually compiled the program, ...
TheWizardOfTN's user avatar
0 votes
0 answers
54 views

I am wrapping a TelerikDialog component to create a specifically purposed dialog box. CustomDialog.razor <TelerikDialog @bind-Visible="@this.IsVisible"> <DialogTitle> ...
Gary O. Stenstrom's user avatar
0 votes
1 answer
113 views

We have a Blazor Server app that requires authorization on all its components (internal business app): // ... app.UseHttpsRedirection(); app.MapStaticAssets(); // <-- Static files middleware ...
micka190's user avatar
  • 1,013
1 vote
1 answer
426 views

The following entries where made in the Program.cs file following the Elsa Workflows instructions: // Configure Management layer to use EF Core. elsa.UseWorkflowManagement(management => management....
Tyson Gibby's user avatar
  • 4,969
1 vote
1 answer
53 views

I'm developing a web app for a touch panel where no keyboard is available (and I want to avoid the onscreen keyboard). I have tried a number of ways to solve this problem with no joy. My latest ...
Brendan Taylor's user avatar
0 votes
1 answer
92 views

I have a Blazor Server app that needs to know the local time zone for its work (it's a scheduling app that uses the DxScheduler). The strategy is to obtain the local time offset from the user's ...
David Stowell's user avatar

1
2 3 4 5
109