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

How can i keep the authentication state when dealing with Microsoft Graph API...

my application use Microsoft Graph SDK (Microsoft.Graph) and Blazor on .net 9.The authentication is currently setup to use the Microsoft Authentication on the server side like...

View Article


add multiple blazor components to dependency injection

Pretty new to Blazor and asp.net core as well.I am reading through asp.net documentation dependency injection.I am able to register an initial component MyCounter.razor file and import it into my ui...

View Article


How to integrate LDAP with .NET 8 based Blazor Web App (Server-Side)?

I am trying to integrate authentication with our LDAP server for .NET 8 Blazor Web App.My launchSettings.json{"$schema": "http://json.schemastore.org/launchsettings.json","iisSettings":...

View Article

RenderMode for Blazor server app with Identity

I want to modify the standard sidebar nav so it is collapsible and can contain submenusThe problem I encounter is that the start page flickers or reloads endlessly, probably due to something with...

View Article

Trying to bind value and display, not working

Ok, so I am VERY NEW at Blazor (coming from old school Webforms), and have a simple Web App (InteractiveAuto) where I am testing simply binding values to a class. It's not working, when I tab out of...

View Article


How to pass objects between Pages in Blazor

I have my main page and in this page I have a list with objects. With a foreach I get the items of it and I want to pass the item to another page if you click the button. How can I pass it?

View Article

CascadingParameter and OnParametersSet

I have a simple question I can't find a clear answer to.Currently, since I have a user 'state' model, I use Cascading Parameters to my child components and update them when the state model requires it...

View Article

Why does Blazor API call stop working until I rename my API method

I have a blazor WASM application with 3 projects: Client, Server, Shared.As a simplistic example, I'd call my API from the client via:var result = await http.GetAsync($"{controller}/GetAllItems");On...

View Article


Image may be NSFW.
Clik here to view.

Blazor: Invalid argument type match exception when using dynamic for...

I have custom component, in which having multiple events and each one have unique T type. Then JSInvokable method is common one (Entry point), from where i need to invoke the exact event functional...

View Article


Image may be NSFW.
Clik here to view.

Minimal APIs in Blazor with RequireAuthorization() using Individual Account

In my .NET 8 Blazor project, I added the "Individual Account" to manage users. The application has 2 projects.ServerThe server side contains the login part and the controllers/endpoints.The...

View Article

Changing Blazor's behavior when checking for changed parameters

In this previous question: A group of parameter types that Blazor explicitly checks it is explained which types Blazor will detect diffs for, and which types it will assume are changed:If...

View Article

Blazor + select2 + @bind

When I use select 2 I can't get the value, it always returns null.Can you help me? I've already tried doing @bind, @onchange and nothing works.My Code :<select class="form-select"...

View Article

Image may be NSFW.
Clik here to view.

Microsoft.FluentUI rendering problem on refresh

Have a rendering problem when using FluentUI.The problem is - when you refresh the page (F5) - it is blinking (looks like initially it's rendered without any styles and only after few milliseconds the...

View Article


Image may be NSFW.
Clik here to view.

Failed to find a valid digest in the 'integrity' attribute for resource in...

I have a Blazor client/server app that I have been working on for a period and it has been working fine up to now. I suddenly started getting this errorFailed to find a valid digest in the 'integrity'...

View Article

Using MudTextField in a blazor app returns an error : 'The attribute names...

This is the text field I am using.<MudTextField @bind-Value="Number" Label="Outlined" Variant="Variant.Outlined"></MudTextField>Mud is a library with components to use in Blazor. Here is...

View Article


Blazor requesting a json file

I am trying to retrieve data from the server. But I can't get the json file from the server. I placed my json file in wwwroot/data/Users.json. This is my code. I receive this exception: Unhandled...

View Article

Image may be NSFW.
Clik here to view.

Blazor app localization with culture code in URL fails

I am trying to enable browsing to a localized paging with URL like:https://example.com/en/counter (for English)https://example.com/fr/counter (for French)https://example.com/es/counter (for Spanish)The...

View Article


Image may be NSFW.
Clik here to view.

Publish Winforms app with WebAssembly Blazor for local use

I need to create an .exe file for my Winforms app that works with my web page developed with Blazor. Everything is in the same project.If I start my project on VS2019 it will run the web and then it'll...

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

Register event from blazor component into razor page

I have a razor page project where I want to include a composant from a blazor client project. The two project are in dotnet 6.I manage to have the composant working and to pass some value to it (via...

View Article
Browsing all 4839 articles
Browse latest View live


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