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

Blazor server localization after login using ClaimType locale not working

We are using Blazor Server and we have the localization up and running, but we are running into an issue when we want to use the users account defined locale. e.g. the workstation is configured on...

View Article


Image may be NSFW.
Clik here to view.

Why can't find resources namespace in Blazor Web App project?

The framework I am using is .Net 8I want to follow these two tutorials to achieve ErrorMessage with different language.Why can't I use resources as ErrorMessage with DataAnnotations?Blazor WebAssembly...

View Article


Blazor Wasm Microsoft.JSInterop.JSException: Could not find 'blazorCulture.get'

I have followed the documentation and implemented the localization for my Blazor Wasm as 100% as in the article. Microsoft suggests to invoke js at the application start as...

View Article

Image may be NSFW.
Clik here to view.

Blazor WebAssembly hosted model in kubernetes scale out options

I have a Blazor application which is type of WebAssembly hosted model, this is an extra option when creating a Blazor WebAssembly project though Microsoft Visual Studio.This has an effect that there...

View Article

Blazor And .Net Web API Relation

I'm having difficulty choosing between the advantages and disadvantages of the scenarios I'm about to mention. I need feedback on which architecture to choose for my .NET application, using N-Tier...

View Article


Image may be NSFW.
Clik here to view.

Why does data briefly flash in a .NET 8.0 Blazor project?

I'm working with the .NET 8.0 Blazor projects and my components briefly flash before appearing. I used the new Blazor Web App template.Some form of a flash happens regardless of what @rendermode...

View Article

How to add auth token to automatically generated openapi code?

In my Blazor WebAssembly project i connected a external openapi api by adding a ServiceReference in VisualStudio. After that the client side code is generated automatically.In my Programm.cs i...

View Article

How to order/sort Grouped rows in MudTable/MudDataGrid?

I am using a MudTable with a custom Group By function to display a list of tickets for each department. Each ticket has a single category hence the grouping is done by Category Name. I also display the...

View Article


EventAggregator alternative

I have been trying to use this version of an EventAggregator hereI have been using it in a Blazor Server app which is a rewrite of an Old Silverlight app which used an EventAggregator. However, I have...

View Article


error-500-after-successful-authentication-b2c-when-hosted-on-ionos-widows

I had configure project blazor webapp .net 8 with server render and azure b2c. App work on Azure App Service and locally. When publish on IONOS host, after login, redirect on .../signin-oidc return 502...

View Article

Error in iOS Simulator with .NET MAUI Blazor Hybrid: "Info.plist does not...

I am developing a .NET MAUI Blazor Hybrid application in Visual Studio 2022 and encountering an error when attempting to run it on the iOS simulator.The error message states: The application's...

View Article

Npgsql Error "PostgresException: 42P01 Did not find relation", until I...

I have a certain setup on postgresql that works just fine using the psql shell.However, when I try to connect thoughout my Web App, I encounter a small bug.Hey, I have a simple Postgresql 14 database...

View Article

Does Msal work with Blazor V8 release? And where should the Msal components...

I'm trying to put together a Blazor app that uses Entra Id with a popup form for authentication. I have had some success with an old version of Blazor but I would like to do this with the release...

View Article


Why does my Entra MSAL flow work for log in, but I get a 404 when logging out?

I am having a strange issue. I am using MSAL 2 with an Entra Customer tenant, and users can log in, but cannot log out.Here's my sample configuration, which I had to change from the original...

View Article

How do you import the builder lines for the Program.cs file from a Blazor to...

I have a massive Razor project that I'm trying to convert to Blazor. To make things easier, I want to incorporate Blazor into the Razor project as I convert pieces over so I don't need to keep...

View Article


How to disable Horizontal Scrollbar in Mudblazor Datagrid

We have requirement to not let Horizontal Scrollbar show up in MudBlazor DataGrid when screen size is reduced, we can shrink column width till it switches to CardView. I have tried...

View Article

How can I make .net 8.0 razor components, in a shared project, interactive?

I have a visual studio solution containing several blazor web application projects.Each of the applications has a requirement to use several identical components.I should like to place web assembly...

View Article


Blazor HttpClient get data from Http POST

I'm trying to get my Blazor Web-App to display data from a Http POST sent through CURL, But I'm having trouble with anti-forgery validation.My Blazor page source:@page "/Data"@inject HttpClient...

View Article

Blazor MarkupString, are there risks?

What are the legitimate risks of using MarkupString to render html inside of a Blazor page?There is a warning mentioned on this Blazor 0.5.0 preview blog...

View Article

How can I simultaneously have JWT token-based and cookie-based authentication...

I have a Blazor Server app project authenticated via ASP.NET Identity cookies, and I've added several APIs to it using the minimal API approach. These APIs are intended to be called through a mobile...

View Article
Browsing all 4136 articles
Browse latest View live


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