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

Blazor server, Timers, Disposing and Cannot access a disposed object

I use Timer in the main components of our app. It's used to trigger an endpoint every few minutes to tell us that the user is active on the application.The code looks like this inside...

View Article


Blazor, Checkbox keep checked, event after StateHasChanged() method called

I have this code :@foreach (var item in list){<input type="checkbox" @onchange="@(e => HandleCheckChanged(e, item.Name))" checked="@item.IsChecked">}private async Task...

View Article


Blazor @onchange event doesnt fire

In the Blazor WebAssembly application, the @onchange event attached to the element fails to trigger when selecting the "Weather" option. The goal is to dynamically render components based on the...

View Article

How can I avoid TaskCanceledException by RemoteNavigationManager

I have a Blazor server app and every couple of minutes I get the following in my logs:Error 12:09:54 [] Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager - Navigation failed when...

View Article

UserManager.GetClaimsAsync() failing - The connection is closed

In a Blazor InteractiveServer application, using the ASP.NET Identity Library, I call:Microsoft.AspNetCore.Identity.UserManager`1.GetClaimsAsync(TUser user)I set it to use my extension class by adding...

View Article


How to set the focus to an InputText element?

Using the example from the Microsoft docs, I'm trying to programmatically set the focus to an input element.Unfortunately, the example uses a standard <input type="text"> whereas I want to use it...

View Article

C# MAUI Hybrid BlazorWebView iOS Iframe

I have a Blazor hybrid application (.NET 8) that has an iframe in one of the components. On Android, everything in the iframe works fine; however, on iOS the site was loading externally.I resolved that...

View Article

blazor serverside oidc how to logout?

i have some blazor serverside app that uses our corporate oidcso startup i have:builder.Services.AddAuthentication(options =>{ options.DefaultScheme =...

View Article


Web Application in IIS 10 Always Running Not Working (Blazor Web Server)

IIS Stops after some hours Worker application in IIS 10 stops after some hours of inactivity as you can see in the image.I am almost certain I have to Install **Applicaton Initialization ** module,...

View Article


Is it possible to pass values from a Razor component to a Razor page?

I'm integrating Razor components into ASP.NET Core Razor Pages in my Blazor Webassembly project in order to keep the UI consistent between the client and server.One of these components is a multiselect...

View Article

File upload using IFormFile at application services work with swagger ui,but...

I have implemented a function in my ABP application service:public async Task CreateVideoNewsAsync(string VideoName, IFormFile VideoFile)The function works fine when calling the Swagger interface....

View Article

Blazor web assembly docker error blazor-devserver.dll does not exist

i'm trying to dockerize blazor web assembly app by docker composeso, do i need to to run a command to install the SDK because it's referring me to SDK or maybe some dll file doesn't copy to container...

View Article

Two way binding with Blazor Monaco Editor

I have installed and configured the BlazorMonaco in my Blazor WebAssembly application as directed here: https://github.com/serdarciplak/BlazorMonacoBelow is my Home page:Home.razor @page...

View Article


Duplicate Icons on Google Maps Controls in Blazor .NET8 App After Page...

Issue with Duplicating Icons on Google Maps Buttons in Blazor .NET8 ApplicationI'm encountering a recurring issue in my Blazor .NET8 application where the buttons on my Google Maps (such as the zoom...

View Article

MudDialog - how to execute default action button on return key press?

Considering this dialog below, how do I:make Create button default (or submit) button?enable MudTextField to submit on return (enter) key press?Adding ButtonType="ButtonType.Submit" doesn't seem to...

View Article


Prevent page scrolling when cursor is hovering over element Blazor

In Blazor I have a canvas with Pan/Zoom capabilities made with Excubo Canvas however if the page has enough content to make the page scrollable, scrolling on the canvas to zoom out also scrolls the...

View Article

Can I make component parameter required when building a custom Blazor component?

When I try to build a Blazor component I can define parameters for it like this:@code { [Parameter] public string MyString { get; set; }}My question is can I make this parameter required so that, when...

View Article


Open file after downloaded to download folder

Within my MAUI Blazor hybrid project, I have a button that downloads an Excel file. Is it possible to open this Excel file? It is placed in the downloads folder.How to get the path for downloads folder...

View Article

Docker compose : How to redirect UI container to RabbitMQ's admin page

I have a docker compose project that is composed of a frontend UI (it's blazor but I don't think it matters for this question), an ASPNetCore web API and several supporting containers like MSSql,...

View Article

Back-assign elements to MainLayout component from Child page in Blazor

Taking the standard structure of a blazor wasm project as an example, with the MainLayout component and razor pages denoted by the @page directive that is, basically I would need to render an element...

View Article
Browsing all 4839 articles
Browse latest View live


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