1,395 questions with Blazor tags

Sort by: Updated
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.
208 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,395 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
asked 2024-05-01T17:47:48.67+00:00
Tom McCartan 5 Reputation points
commented 2024-05-02T18:34:25.2+00:00
Tom McCartan 5 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,395 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,549 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

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,395 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,281 Reputation points
commented 2024-04-30T21:14:35.82+00:00
Bruce (SqlWork.com) 56,531 Reputation points
1 answer

Best Practice For Database Access In Blazor MAUI Hybrid App

I'm porting a project from MVC into a Blazor MAUI Hybrid app with the intent to share common components and data. I have a Razor Class Library which does this, but was wondering if I should also put my SQL Server data access in here as well or keep that…

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,395 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,748 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,891 questions
asked 2024-04-30T17:24:11.6166667+00:00
Daniel Kovach 0 Reputation points
answered 2024-04-30T18:30:11.3766667+00:00
Bruce (SqlWork.com) 56,531 Reputation points
1 answer One of the answers was accepted by the question author.

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,395 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 20 Reputation points
commented 2024-04-30T11:03:42.41+00:00
wilfried kinda 20 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,390 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,395 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,891 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,395 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 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,395 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) 56,531 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,291 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 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,395 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
766 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) 56,531 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,395 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) 56,531 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,180 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,395 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.
298 questions
asked 2024-04-26T18:27:26.8766667+00:00
Kuler Master 246 Reputation points
commented 2024-04-27T17:51:27.7266667+00:00
Kuler Master 246 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,395 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) 4,742 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,395 questions
asked 2024-04-23T23:30:13.6466667+00:00
Steve Nicholson 0 Reputation points
commented 2024-04-26T16:02:30.6866667+00:00
Bruce (SqlWork.com) 56,531 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,395 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
0 answers

Building Reusable Blazor Components - Seeking Advice

Hi, I recently built a Blazor Server app using the Radzen master-detail data grid component (https://blazor.radzen.com/master-detail-hierarchy). To improve reusability, I'd like to turn this functionality into a custom Blazor component. Your expertise…

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,395 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,270 questions
asked 2024-04-26T11:18:03.39+00:00
Cenk 956 Reputation points
1 answer

Issue of slow data loading in Radzen grid in .net 8 blazor web app in both SSR and CSR And Auto mode ? How to Fix this?

Hi, I have a Razor component and in this component I have Radzen grid to show data , In my data base i have 60000 + rows and I am showing this data to component page using Radzen Datagrid but its taking more then 1 minute to load the data how i can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,395 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,270 questions
asked 2024-04-25T13:36:54.2066667+00:00
Kuldeep Y 36 Reputation points
commented 2024-04-26T09:33:06.0766667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Create, Reference and use a Razor class library.

Hello! I'm training on Microsoft Learn. My current stage is the following module: https://learn.microsoft.com/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 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,395 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
1 question
asked 2024-04-24T15:49:23.6733333+00:00
Rafaeleliasgri 20 Reputation points
accepted 2024-04-26T01:06:37.9533333+00:00
Rafaeleliasgri 20 Reputation points
1 answer One of the answers was accepted by the question author.

Play sound in Blazor Hybirs app

I have a blazor hybird app running Android emulator inViual Studio. the app has a button when clicked play a sound using javascript interop to play a soun. the js code : window.PlayAudio = (elementName) =>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 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,395 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,891 questions
asked 2024-04-23T10:01:01.01+00:00
Qun Shen 60 Reputation points
accepted 2024-04-25T00:02:16.83+00:00
Qun Shen 60 Reputation points
2 answers One of the answers was accepted by the question author.

Loading module from “.../_framework/dotnet.js” was blocked because of a disallowed MIME type (“text/html”)

** Update: I've pinpointed the issue to the Visual Studio publishing wizard failing to push all files, regardless of my efforts. Subsequently, I established a new Azure Web App under a fresh subscription, which resolved the issue. Thus, the publish…

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,395 questions
asked 2024-04-23T01:56:10.4266667+00:00
Michael Washington 911 Reputation points MVP
edited the question 2024-04-23T21:31:25.04+00:00
Michael Washington 911 Reputation points MVP
1 answer

Blazor Title

Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,395 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
asked 2024-04-19T09:30:14.7833333+00:00
Kuler Master 246 Reputation points
commented 2024-04-20T15:08:46.87+00:00
Bruce (SqlWork.com) 56,531 Reputation points