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

How to use distributed memory cache and distributed SQL Server cache together?

I have successfully implemented a distributed cache using SQL Server by setting it up as follows:services.AddDistributedSqlServerCache(options =>{ options.ConnectionString =...

View Article


Why won't my Add button call my function?

I am making a website for recipes where users can upload their own recipes. I am struggling with my CreateRecipe page. I want the user to enter an ingredient name, ingredient quantity, and the unit of...

View Article


After input all the values still showing username and password required in...

I'm working with a Blazor web assembly project, but having an issue while submitting form after inputting email and password still asking for email and passwordEmail is requiredPassword is requiredI...

View Article

Image may be NSFW.
Clik here to view.

Blazor Server App suddenly throws Javascript Error

My Blazor Server App just began to throw this error when I try to run it in the VS Test Server. It throws this error if I click the "https" button at the top of the VS IDE, however if I right-click on...

View Article

MudBlazor Tab Component arrow to come back

i have a problem with my mud Blazor tab component, i'm trying to use it but whenever i'm using it i always have an arrow to come back when i click on other tab than the first one. I really want to get...

View Article


Automatically Attaching Access Token to HTTP Client in Blazor wasm

I am using an open id connect identity provider for my Blazor wasm application and would like an access token to be attached to the http client as described in this article.However, whenever I create...

View Article

Image may be NSFW.
Clik here to view.

Using Azure AD Graph API to get a list of Entra users without a logged in...

I have a multi-tenant Blazor server application, which users can login with their company emails and work on their projects. Same application also needs to get list of users from MS Entra and update...

View Article

How to resolve "TypeError: Failed to fetch" error on Blazor?

I am trying to send an HTTP request from my Blazor app to my ASP.NET Core API. I have breakpoints everywhere. The application gives an exception right after the action method on the API controller...

View Article


Blazor .NET 9 web app with renderMode=Auto; clarification

I'm exploring Blazor .NET 9 web apps, using rendermode set to auto (Server + Wasm). You can notice that a shared project is not created, but only Server and Client. In this context, the Layout and...

View Article


Using ASP.NET Blazor, how do I make Bootstrap navbar collapse when menu item...

On mobile, I open the responsive menu and click on a menu item <NavLink>. I am routed to the new page, but the menu stays open and does not automatically collapse. When I click the...

View Article

What's the point of using event callback in Blazor?

I was wondering if we call a function directly, why should we use event callback?For example, I use an event callback to set the colour of a component from the child to the parent.This is the child...

View Article

Is there a way to scaffold a model that child classes inside?

I was following a blazor tutorial and there is this step where it can create a CRUD with just the model of a class. In the tutorial they only show it with a very simple class.I wanted to know if it is...

View Article

Blazor rendering - joining multiple MarkupStrings together with unclosed HTML...

Im curently rewriting old WebForms app to Blazor InteractiveServerApp (.NET 9). This app is reading and processing static template ".htm" files, that contains partial HTML markups and custom "internal"...

View Article


Property is not tracked by EF Core

I have a very mysterious issue with my Blazor application. It's a big form, the main object has around 20 primitive properties and 10 complex ones. Almost everything works as expected, but there is one...

View Article

Preventing double rendering with the combination of "Interactive Server...

I'm exploring the new Blazor features of .NET 8 and I'm encountering an issue where my component seems to be rendering twice. The issue occurs when I'm using "Stream Rendering" combined with the...

View Article


To create a searchable dropdown in Blazor Server that allows users to search...

To create a searchable dropdown in Blazor Server that allows users to search using both English and Marathi names, you can use the with a third-party searchable dropdown component like Blazored...

View Article

Issues with Blazor Treeview

I'm using Telerik Blazor TreeView Component in my Blazor C# code to display hierarchical data. Facing 2 issues with it, viz:(i) All child nodes are highlighted with a blue color although I'm not...

View Article


Image may be NSFW.
Clik here to view.

How to load a Blazor App as a plugin/embed in another Domain?

I've spent a LOT of time working to get a blazor plugin working, where my app is used as a plugin/embed in another domain's webpage. It's working, but the method has some serious drawbacks and I'm...

View Article

Using DbContextFactory in a singleton class in Blazor

I'm still trying to wrap my head around how to get a DbContextFactory work with a normal .cs class/singleton.Here's what I have so far:program.cs:var connectionString =...

View Article

MudDialog with progress won't open while writing data to XML

I created a custom dialog component with MudProgressCircular (Child razor) that should display the progress while writing the part details to the XML output file. The issue I am trying to address is...

View Article
Browsing all 4839 articles
Browse latest View live


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