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

.NET Maui Blazor web assembly, on Windows, what capabilities do I need to...

This question is specifically for Windows. I have a .NET Maui Blazor web assembly app that accesses a SQLite database located in FileSystem.AppDataDirectory.More specifically, the base path to my db is...

View Article


ASP.NET Core 8 and Blazor Web Assembly application runtimeconfig

I am following this tutorial https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/run which builds a very basic Blazor app. However the project won't run on ASP.NET Core 8. Could you please...

View Article


Why are the checkboxes still checkable?

Why are the checkboxes still checkable?@if (@GearTypeView.PickN > 1){ @foreach (GearView gearView in GearTypeView.GearViews) {<div class="row"><div class="col m-1"><input...

View Article

Close sidebar automatically when user clicks NavLink

In my Blazor WASM Standalone project, I have a collapsible sidebar used for navigation. I currently keep the state of the sidebar in my centralized state container i.e. isSidebarExpanded = true or...

View Article

VS 2022 Update Blazor TypeError: Cannot read properties of undefined (reading...

I have updated my VS 2022 to Version 17.14.0 Preview 2.0 (.NET 9.0 SDK).After the update I'm unable to debug my blazor project (built using .NET 8.0 SDK).Every time I debug, getting below...

View Article


Image may be NSFW.
Clik here to view.

.NET 9 Blazor WebAssembly, line by line debugging not working: "The debug...

I have a .NET 9 Blazor WebAssembly app. I can add breakpoints to my C# code, and i can hit those breakpoints. However, as soon as i click F10 or F11 to execute the line, i am presented with this error,...

View Article

Web event handling in multiple windows (Blazor)

I'm just starting out on the web and this time I'm having trouble with event handling. I develop with blazor, but this seems like a universally applicable problem.Where I'm stuck is this. I want to...

View Article

AccessToken is null when using OpenIdConnect

I have a Blazor server-side app and in Startup.cs I have the following:services.AddSingleton<ITicketStore,...

View Article


Blazor web app, Razor class library debug question

I am currently developing a Blazor web app. I have created a Razor class library.I want to debug the Razor class library without providing the main program source code.I tried to debug using the method...

View Article


How to make a dropdown menu in Blazor

I am trying to make a simple dropdown menu in my Blazor app. It is declared in my Header.razor as shown below:<div class="header-sign"><div class="dropdown" id="toggleDropdown"><button...

View Article

Image may be NSFW.
Clik here to view.

Double execution of OnInitializedAsync and Dispose in MudBlazor when...

I want to build a website using MudBlazor and C# on .NET 9. On one of the pages, I want to display images, which are loaded in the OnInitializedAsync event handler. To handle the case when the user...

View Article

Blazor Web App, Global InteractiveServer, .Net9. Localization. During Culture...

I follow the localization directions from Microsoft at Globalization and localization.It doesn't work as expected and has also obvious mistakes (like confusing app.razor with routes.razor).Anyway,...

View Article

EF Core change tracking and Blazor Server

I'm struggling to find a good pattern to work with EF Core and Blazor Server.From my research, the best thing to do is using DI and DbContextFactory. Then wrap every operation in its own...

View Article


How do I correctly embed an in Blazor? (child App)

I have created a sample blazor webAssembly applcation and wanted to load that in the container app created in blazor standalone webassembly.I am using iframe to load the child app however it...

View Article

Image may be NSFW.
Clik here to view.

Azure B2C Logout in Blazor

I've build a Blazor server app and I'm using the Azure b2c which I build using the wizard.I don't have a login page and I only use the Google as oauth provider. I just have the default blanket redirect...

View Article


Radzen Blazor components only run after full rebuild

I am trying out the Radzen Blazor components in a test project. If I do a full rebuild of the project and run it then everything works correctly. If I close the browser and immediately run again...

View Article

issue using Css Isolation in Blazor Server

We are using .net 8 and want to use css isolation.So in my program.cs file I have:var builder = WebApplication.CreateBuilder(args);builder.WebHost.UseStaticWebAssets();.....app.UseStaticFiles();...I...

View Article


How can I correctly host a blazor app from WPF?

Is it possible to host a blazor web application from a WPF application in .NET 9?The situation is as following: I have a big WPF application which is used for regular operation. But now I want to have...

View Article

.Net 8 MudBlazor MudTable. Custom Inline Edit not working

I am trying out Blazor with the MudBlazor Component Library. I played around with their MudTable with built in editing. I'd like to try to get my own custom editing going just so that I can then add my...

View Article

Blazor web app, global InteractiveServer, .NET 9. Localization. During...

I follow the localization directions from Microsoft at Globalization and localization.It doesn't work as expected and has also obvious mistakes (like confusing app.razor with routes.razor).Anyway,...

View Article
Browsing all 4268 articles
Browse latest View live


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