Questions tagged [blazor]
Blazor lets you build interactive web UIs using C# instead of JavaScript. It is a feature of ASP.NET, the web development framework from Microsoft that extends the .NET developer platform.
blazor
14,514
questions
0
votes
0
answers
27
views
Mublazor Autocomplete Render Custom HTML
I have to display cities of a country in a Group form, for example my data source is a dictionary like
Country1
City1
City2
City3
Country2
City1
City4
City5
City6
If user search for City2, I need to ...
0
votes
0
answers
12
views
InvalidOperationException: Cannot provide a value for property '_companyRepo'
I am building an ASP.NET Core 8.0 Blazor solution. This solution has 3 projects. 1st is an iStar.Framework.dll project that contains Model Classes. 2nd is iStar.Framework.ModelIRepos.dll that contains ...
-1
votes
0
answers
19
views
Sum in Lookup in Monogo C# [closed]
List<abcd> data = new List<abcd>();
data.Add(new abcd { name = "tbl1", fieldname = "total_amount" });
data.Add(new abcd { name = "tbl2&...
0
votes
1
answer
23
views
QuickGrid Blazor .NET 8 - wordwrap title to next line
I want to use QuickGrid with Blazor on .NET 8. I have columns with small digit data, but long titles to describe the data properly.
At the moment, if I want the title to be displayed, I need to make ...
0
votes
0
answers
12
views
firebase authentication stops working after navigating to a different page,
This one is really frustrating.
I have implement firebase authentication in my Blazor Web App (.Net 8) specifying the popup sign-in flow .
Everything works fine as long I stay on the very same page ...
0
votes
1
answer
20
views
<AuthorizeView> not recognizing role claim
I have a Blazor Server app that uses Windows Auth. Based on the group memberships of the user, I am adding role claims using IClaimsTransformation. The group-to-role mapping is fetched from a DB.
This ...
0
votes
0
answers
20
views
@context variable in implicit child content
I made a simple list component that works with INotifyCollectionChanged:
@using System.Collections.Specialized
@typeparam TItem
@if (Items != null && ChildComponent != null)
{
@foreach (...
-1
votes
0
answers
28
views
How can i select a HTML element with Blazor [closed]
How can I select an HTML element/tag with Blazor attributes (without using @ref)? I didn't find any feature in it, which could help me.
I want something like javascript selector methods or jquery ...
0
votes
0
answers
28
views
Using EF Core ChangeTracker for Blazor Web App (Serverside)
I have a webshop running in a Blazor Web App application (server side). Everything works perfectly locally. But as soon as the application is online, it crashes every few days. This means that when I ...
0
votes
1
answer
40
views
How to maintain Authentication State with Blazor 8 Server Interactive
I have a setup a full example project here with a kludge where I have to manually call it to grab the state on every page. The problem is if the user refreshes the page then it will redirect to login ...
0
votes
0
answers
32
views
Azure High Latency on Serving static assets from wwwroot directory from ASP.NET
My company has a blazor server application running on .NET 6.0.
Currently I am transitioning the application from a Windows Server 2019 running on IIS to an Azure Web App Service.
Everything runs fine....
0
votes
1
answer
32
views
How to separate dependency configuration from UI project of an ASP.NET Core Blazor Web App?
I have a Blazor Web App with the Server hosting model in .NET 8 with the WebApplication.CreateBuilder minimal hosting model.
In the solution I use multiple library projects to foster a clean ...
0
votes
0
answers
29
views
On change event for input select isnt firing
I am having the below inputselect and all I want is a cascading ones, so if you choose a branch, the tables will be filtered. I've been stuck for over a week and not sure why its not working.
Tried ...
0
votes
1
answer
41
views
How to preserve state in Blazor 8 with static SSR
I have Blazor Web App, interactive mode is Auto and location per page/component.
Since App, Routes and Layouts are rendered statically on the server, every navigation causes BrowserInfo(registred as ...
0
votes
1
answer
29
views
Can a generic Blazor Component handle multiple classes with the same structure?
I have created a Blazor Component to handle editing a database record which is defined by a class.
I would like this component to be reused to edit other records - that have the same structure, but ...