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

Input box not clearing after second letter input

I created some code to remove any letters that get typed within the input box. When I type in a letter, it gets removed from the UI and variable, however when I type in a letter again, it doesn't get...

View Article


Blazor Inheritance and Code-behind Structure

I want to keep my Blazor component's logic in the code-behind file (i.e., .razor.cs) and only have the UI markup in the .razor file. To achieve this, I’ve created a base class (CustomBasePage) that...

View Article


Support for preloading in Blazor WebAssembly Lazy Loading

I have implemented lazy loading for Blazor WebAssembly as per the code below.When all required web assemblies have been loaded, I would like to load the rest of the web assemblies that have not yet...

View Article

Integrate Blazor-Component in Razor-Page (*.cshtml) - Events

i want to implement a Blator-Component within a EventCallBack in a razor-Page (*.cshtml). Currently the component is shown and i can click the buttons inside the component with the correct reaction of...

View Article

How to write unit tests for Blazor using bUnit when component has injected...

I have a Blazor project with Radzen, and am using bUnit to test my components.I'm encountering an issue with testing a component that has a DialogService injection. When this line in my test runsvar...

View Article


How to generate Authenticator QR Code with Blazor .NET 8 in razor component

When using the new Identity razor components from .NET 8 you still get a link to this article:...

View Article

500 Internal Server Error from Blazor App (previous build works with little...

I'm running into a problem with Blazor that appears extremely difficult to troubleshoot. I'm not sure where to go except begin to try and go to Microsoft themselves for this.I have a Blazor App that...

View Article

How to disable CSS font-face Attribute In Blazor Web App (.Net 8.0)

How to disable the font face property in all Razor pages so that it does not take effect ? I just want the project to be unable to load custom font functionality. thanksI couldn't find the...

View Article


How to hook up blazor individual accounts with Cosmos DB?

I have a small internal web application in Blazor Server. I created the app using the local DB individual account for authentication.I would like to be able to use CosmosBD, instead of local DB, to...

View Article


Is Blazer server SSR and SPA?

I heard that the Blazer server is SSR(server-side rendering).By the way, I know that the Blazer server is a single page apps (SPA).Is the Blazer server both SSR and SPA?Then, does the Blazer server...

View Article

How to load user roles from Database and assign to user in blazor wasm

I have a Blazor WebAssembly (WASM) app hosted in ASP.NET Core that authenticates users using default ASP.NET Core Identity.In the server project in Program.cs, I have this...

View Article

Blazor Server AuthenticationStateProvider

I have Blazor server app, (built using the .NET7 Blazor server template, upgraded to .NET8 in place). I want to trigger my code on AuthenticationStateChanged.In program.cs, I have this line (which I...

View Article

How to Stop Chrome Caching During Visual Studio Blazor Wasm App Debugging

I am using a small Blazor Wasm app to learn web programming. In particular, Visual Studio Community 2019 v16.6.2 with AspNetCore v3.2.0 and Chrome v83.0.4103.116. There are times when changes I make to...

View Article


MAUI iOS Release - Trimming in Release is too aggressive, is there a workaround?

DescriptionI'm facing a problem that I'm trying to resolve. My MAUI Blazor Hybrid app implements Blazor wrapper for a JavaScript library Leaflet for interactive maps in Blazor. Everything works well,...

View Article

Blazor webapp server .net 8.0 - could not reconnect to the server

I am new to blazor, i have a blazor webapp project (not blazor webassembly) with .net 8.0(this project doesn't have html or cshtml files, only .razor files) hosted on azure appservice as a web...

View Article


Does the AOT Setting Propagate to Dependent Class Libraries?

We are using AOT in our Blazor WebAssembly project, in the csproj of main project we enable it like this:<RunAOTCompilation Condition="'$(Configuration)'=='Release'">...

View Article

Why are object attributes empty while binding a model on EditForm in Blazor...

I'm working on a Blazor web app in new hosting mode of Blazor on .NET 8, where I tried to bind a product model to an EditForm, initialized model in OnInitializedAsync() method, but when the form is...

View Article


Blazor Hot Reload in Rider

What I'm BuildingI am building a Blazor (Interactive Server) web application using .NET 8.0Machine & SoftwareI am using a Mac Pro (Intel 2019) with macOS Sonoma and Rider 2024.2. All software is up...

View Article

Image may be NSFW.
Clik here to view.

Blazor components folder issue

I am working on a Blazor hybrid project and have a component called ArraySelector.If I place the component in a subdirectory BaseComponents as shown belowAnd setThe @onclick event is not recognize and...

View Article

Blazor Fluent UI window change

I am migrating from MudBlazor to Fluent UI in my Blazor Standalone WASM project (.NET8).With MudBlazor I was utilizing IBrowserViewportService in order to get windows size changes.Whenever the user...

View Article
Browsing all 4856 articles
Browse latest View live


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