1,479 questions with Blazor tags

Sort by: Updated
2 answers

In Blazor Server App, getting 404 error on page refresh

I am working on a Blazor server app with ASP.NET Core MVC and MudBlazor for design. My panel pages are in a PanelProject. I face the following issues: Whenever I try to refresh a page, I get a 404 error. Sometimes, I get a 403 error without knowing…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-03-11T06:57:18.34+00:00
Mrbanad 30 Reputation points
commented 2024-05-13T10:35:42.86+00:00
Mrbanad 30 Reputation points
1 answer

Azure AD B2C returns 401 Unauthorized when accessing controller

I am building a Blazor WASM app, in .NET 8, which I intend to protect using Azure Active Directory B2C. I created an AAD B2C app registration, and exposed an API from it. Then I created another app registration to serve as a client, and gave it the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,155 questions
asked 2024-05-07T21:57:34.52+00:00
Lazar N 0 Reputation points
answered 2024-05-12T16:35:47.13+00:00
Bruce (SqlWork.com) 60,386 Reputation points
1 answer One of the answers was accepted by the question author.

How to display Image Data on .NET MAUI Blazor App

How to display Image Data on .NET MAUI Blazor App Here is the api that fetches Image data https://quizapijwt.azurewebsites.net/api/Questions Images are stored in imagedata bytea CREATE TABLE public."Questions" ( "SNo" int4 NOT NULL…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,148 questions
asked 2024-05-11T14:40:39.1366667+00:00
Anonymous
commented 2024-05-12T11:20:43.7466667+00:00
Anonymous
1 answer

Blazor Server Side AuthorizationHandler - PreLoad - HttpContext is Null

I have a Multi-Tenant Blazor Server Side application, that uses Pre-Load to use HttpContext in the Razor Pages. I am setting up Authentication and Authorization using Azure Entra. For Authorization I need to Authorize the user against the Tenant. The…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-05-08T13:56:02.2933333+00:00
Tom McCartan 5 Reputation points
edited an answer 2024-05-10T17:57:12.1466667+00:00
Bruce (SqlWork.com) 60,386 Reputation points
1 answer

Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one.

Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one. And I may give back a little to community making this GitHub repository…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-05-06T15:12:28.11+00:00
Timo Kinnunen 126 Reputation points
answered 2024-05-10T02:56:54.15+00:00
Zhi Lv - MSFT 32,076 Reputation points Microsoft Vendor
0 answers

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,148 questions
asked 2024-05-08T03:16:48.12+00:00
م.طارق علي 0 Reputation points
commented 2024-05-08T06:02:19.49+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,631 Reputation points Microsoft Vendor
1 answer

Blazor Multitenant Configuration with Azure App Configuration Service

I have read the following article, but no where in this document does it talk about how this can be instantiated within your program.cs or startup using…

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
214 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,285 questions
asked 2024-05-01T17:47:48.67+00:00
Tom McCartan 5 Reputation points
commented 2024-05-06T18:01:36.8333333+00:00
Bruce (SqlWork.com) 60,386 Reputation points
1 answer

How to reduce the number of wasm libraries loading at the first load

Hello, We are facing issue with loading Blazor web assembly app. We have observed that the Blazor web assembly project loads a lot of wasm libraries in the beginning. It loads around 25mb of data in first load. And this is impacting performance of our…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-05-06T12:32:40.0633333+00:00
Mayank Nisar 5 Reputation points
answered 2024-05-06T16:03:48.67+00:00
Bruce (SqlWork.com) 60,386 Reputation points
1 answer

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
accepted 2024-05-06T13:54:11.3733333+00:00
wilfried kinda 0 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,526 Reputation points
commented 2024-05-04T18:29:35.3166667+00:00
David Thielen 2,526 Reputation points
1 answer One of the answers was accepted by the question author.

How to set up role based authentication in a Blazor Server app in Microsoft Entra ID

Hi, I have a Blazor Server app and I want to use role based authorization in Microsoft Entra ID. I created role for it and I added permission to it: Program.cs builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,366 questions
asked 2024-04-29T07:39:18.5833333+00:00
71185955 40 Reputation points
accepted 2024-05-01T18:22:08.4166667+00:00
71185955 40 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Maui.Essentials packages

I have an razor class library and want to use Microsoft maui SecureStorage. In visual studio , NuGet interface, when select the latest Microsoft.Maui.Essentials packages, get the following…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,148 questions
asked 2024-04-27T08:45:34.1866667+00:00
Qun Shen 60 Reputation points
accepted 2024-04-29T23:34:55.8866667+00:00
Qun Shen 60 Reputation points
1 answer

Multi-Tenant Blazor Server Side app Hosted in Azure

I am working on a new project to host a Multi-Tenant Application using the following technologies: Blazor Server Side, Hosted on an Azure App Service, Using Azure SignalR, using Feature Toggles in Azure App Configuration and Secured with Azure Active…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,285 questions
asked 2024-04-29T13:06:10.9633333+00:00
Tom McCartan 5 Reputation points
commented 2024-04-29T18:23:35.3033333+00:00
Tom McCartan 5 Reputation points
1 answer

Blazor web app net 8 rendermode auto with API

I am creating a web application with blazor web app and net 8 with rendermode Auto. I have an api created in .net hosted on another server different from where the blazor web application will go. The api needs a token in each call, I am having problems…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-24T15:40:36.8+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2024-04-29T17:28:07.4933333+00:00
Bruce (SqlWork.com) 60,386 Reputation points
4 answers

Azure Static Web App function API refusing connection from web app

I have a Blazor WASM app deployed to an Azure Static Web app with a managed .NET 8 isolated Azure Function API. When calling the API directly from Postman using the auto-generated web app URL + the API route I receive the expected response and can see a…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,572 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
833 questions
asked 2024-03-10T19:43:13.2+00:00
Beau 0 Reputation points
answered 2024-04-29T16:08:17.1466667+00:00
Bruce (SqlWork.com) 60,386 Reputation points
2 answers

Blazor web app net 8 rendermode auto authentication

I am confused on how to add authorization to my components. In the client part I am using AuthenticationStateProvider and in the server part ServerAuthenticationStateProvider. Segum I've been looking at the documentation and other examples. My blazor app…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-26T09:26:54.0033333+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2024-04-28T16:44:49.1866667+00:00
Bruce (SqlWork.com) 60,386 Reputation points
1 answer

Blazor Culture in the Route

Is it recommended to add the language (culture) in the route e.g. site.com/en/page-name or only page name is sufficient e.g. site.com/page-name? How to I change the culture to de-DE if you paste the URL like the following? mysite.com/de/home Thank…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
314 questions
asked 2024-04-26T18:27:26.8766667+00:00
Kuler Master 266 Reputation points
commented 2024-04-27T17:51:27.7266667+00:00
Kuler Master 266 Reputation points
1 answer

does arr works in iis express

for a blazor with all render modes enables (a server and a wasm-project integrated in one solution) I need: Sticky sessions with Application Request…

Internet Information Services
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-26T11:19:37.49+00:00
qqtf 0 Reputation points
commented 2024-04-26T23:00:25.82+00:00
Lex Li (Microsoft) 5,157 Reputation points Microsoft Employee
1 answer

How should I add a Blazor UI to an existing .NET Core API?

We have a .NET Core product with an API that we want to create a UI for. We've decided to switch from React (which we've used on other projects) to Blazor because our team all knows C# and only one person knows React/JS. I've done some initial learning…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-23T23:30:13.6466667+00:00
Steve Nicholson 20 Reputation points
commented 2024-04-26T16:02:30.6866667+00:00
Bruce (SqlWork.com) 60,386 Reputation points
2 answers One of the answers was accepted by the question author.

EditForm in Blazor does not work on submit

Below is the source code, brand new blazor project vs2022 , Version 17.9.5 put a break point on string breakpointhere = "z"; examine xx variable - for the model, you will see that the MyTitle string is always null. Such basic stuff…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,479 questions
asked 2024-04-20T15:03:25.1633333+00:00
Rob Bertora 20 Reputation points
accepted 2024-04-26T11:32:50.97+00:00
Rob Bertora 20 Reputation points