Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Browsing all 4241 articles
Browse latest View live

IIS Blazor with Windows authentication

I've got a Blazor 8 app running in an IIS environment using Windows authentication, and impersonation. The single sign-on seems to work, except users keep getting pop-ups asking them for the Smart Card...

View Article


How to get classes in a Source Generator that implement say an Interface in...

I'm attempting to write a set of source generators to generate factory classes in a Blazor application.The older examples all use ISourceGenerator which I believe has been superceded...

View Article


Blazor in .NET 8 and font awesome with switching fonts via condition

I have a page with a lock/unlock icon from font awesome. Which one is shown depends on a parameter variable. The idea being if you click the icon it will toggle between lock and unlock. It also shades...

View Article

Image may be NSFW.
Clik here to view.

MudBlazor/MudTable fix table height

I am using MudBlazor and want to fix the height of the table so the page size footer is anchored to the bottom of the container if the search results show less rows that the page size.For example, this...

View Article

How can I use additional icons in NavMenu in Blazor 8?

I want to use additional icons in the NavMenu.razor in my Blazor 8 application. In Blazor 7 there was a iconset configured in wwwroot/css/, and so I was able to use additional icons only with naming it...

View Article


Parsing Reply Address to Microsoft Auth

When using this code:[HttpGet("microsoftlogin")]public ActionResult MicrosoftLogin(){ var props = new AuthenticationProperties { RedirectUri = "https://localhost:7018/counter" }; return...

View Article

Why Blazor Server .NET 9 shows references missing for QuickGrid

I am try to use QuickGrid in a Blazor Web app and server. But the code always shows "assembly missing". I followed all step as per documentation and apply it but still it showsQuickGrid missing in...

View Article

Does blazor do a postback when using things like @onclick?

If not how does it get the information from server without postback?

View Article


Image may be NSFW.
Clik here to view.

"The program 'NNN.exe' has exited with code 3221226356 (0xc0000374)" Error...

I have initialized the empty solution and added the ".NET MAUI Blazor Hybrid and Web App" type project:I have not touched the source code yet.Once I have launched the debugging of Native Windows...

View Article


Cannot render raw html in a Razor component

I have a following Razor component (Blazor serverside?) in ASP.NET Core 3.0 Razor pages (normal) project:@using WEKA.Models@using Microsoft.AspNetCore.Html<div class="jobs-list"> @foreach (var e...

View Article

Blazor Bootstrap nested grid / detail view event

I started experimenting with BlazorBootstrap newest version (v3.3.1). I want to do an action, for example make an API call when the user expands detail view. I cannot seem to find an event or a way to...

View Article

Why can an AsyncEventHandler method return void or Task?

Blazor has a callback AsyncEventHandler struct that is used for declaring events in a component. Here’s a useful discussion about how to get called by the event.I’ve found that the method assigned to...

View Article

Blazor pages: how to use BuildRenderTree to add dynamic content

Background: We run dozens of sites for clients; all use an identical code base (ASP.NET WebForms) but completely different designs. Page structure is generated programmatically from SQL Server...

View Article


Can I set global rendermode "InteractiveServer" and override it to use...

I am migrating a Blazor Server App (.Net 7) to the new Blazor Web App (.Net 8).The project also includes some Razor pages (cshtml) which I now would like to migrate to the new Static Server Rendering...

View Article

How to use EntraID auth and Identity on .NET 8

Im trying to get AspNet Identity and EntraID(AzureAD) to work together in my Blazor .net 8 project. In my Programs.cs i have...

View Article


Blazor - Navigation during the Blazor `OnInitialized" lifecycle method causes...

For context I am using Blazor in .NET 8 (8.0.3) with interactive server-side rendering.I have a scenario where during initialization of a page component (source page), I want to redirect to a different...

View Article

There was no runtime pack for Microsoft.AspNetCore.App available for the...

I'm trying to migrate from ASP.NET Core 3.1 to 5.0 using this migration guide provided by Microsoft.I installed SDK 5.0.100-rc.1 with runtimes. I updated the project as the guide says, but I'm still...

View Article


Globally configure MudBlazor validation messages for localization?

I'm working on a Blazor application using MudBlazor and need to localize validation messages (like "Required") globally across all components. Currently, I have to set the validation message for each...

View Article

Blazor Resources Not Loading – DevExpress Blazor CSS/JS Files Not Rendering...

We are currently developing a Blazor Server application using the DevExpress Blazor component library. The application is hosted on a Windows Server 2019 environment under a standard IIS...

View Article

How can I make the FluentUI style of my Blazor app also apply to a dynamic...

In my Blazor view, I am dynamically loading a React component that is merely a wrapper around react-jsonschema-form:<div ref={formParentDivRef} onBlur={handleBlur}><Form ref={formRef}...

View Article
Browsing all 4241 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>