1,456 questions with Blazor tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

@await RenderSectionAsync giving "Cannot await method group" error

I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code giving the titled error. Am I missing something ? …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,535 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 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,456 questions
asked 2024-05-21T04:33:58.8933333+00:00
Akhil Josef 20 Reputation points
accepted 2024-05-21T17:06:10.0966667+00:00
Akhil Josef 20 Reputation points
1 answer One of the answers was accepted by the question author.

In Blazor Web App Server authentication Azure missing iss claims

Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…

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,456 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,146 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 20 Reputation points
accepted 2024-05-21T11:04:28.7466667+00:00
Stefania Robuschi 20 Reputation points
2 answers

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,456 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.
13,094 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,067 questions
asked 2024-04-30T17:24:11.6166667+00:00
Daniel Kovach 0 Reputation points
commented 2024-05-21T05:56:01.5733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
1 answer

How to logout user from all tabs in blazor webassembly standalone with azureb2c

Hi team, I have implemented azure b2c with my blazor webassembly standalone application. Now when user multiple tabs in same browser and log out from one of the session it remains active in other tabs. When user refreshes the page , it still is active.…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
637 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,456 questions
asked 2024-05-18T12:20:37.97+00:00
Nitesh 21 Reputation points
answered 2024-05-19T19:56:38.7766667+00:00
Bruce (SqlWork.com) 59,131 Reputation points
6 answers

How can I avoid TaskCanceledException by RemoteNavigationManager

Hi all; I have a Blazor server app and every couple of minutes I get the following in my logs: Error 12:09:54 [] Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager - Navigation failed when changing the location to…

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,456 questions
asked 2024-03-09T14:03:15.4966667+00:00
David Thielen 2,446 Reputation points
answered 2024-05-15T21:03:37.3766667+00:00
Bruce (SqlWork.com) 59,131 Reputation points
2 answers One of the answers was accepted by the question author.

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 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,456 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 40 Reputation points
accepted 2024-05-15T16:35:51.38+00:00
Matěj Rada 40 Reputation points
1 answer

Solution: Custom SignalR Endpoints (Hubs) in a Blazor Server Application using Azure B2C When Deployed to Azure

Posting this in case I need it myself... Issue: Using custom SignalR endpoints (for example a /chat hub) with Authentication in a Blazor Server application that uses Azure B2C will not work when deployed. It will work fine on your local machine (using…

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,456 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
127 questions
asked 2023-01-15T08:30:23.1666667+00:00
Michael Washington 911 Reputation points MVP
answered 2024-05-15T13:18:30.56+00:00
Hatvani Sándor 0 Reputation points
4 answers One of the answers was accepted by the question author.

Blazor Server: It is possible get Current Loged User In DbContext

Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
711 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,456 questions
asked 2021-03-17T08:54:54.227+00:00
Jan Mucha 101 Reputation points
answered 2024-05-15T11:09:34.7366667+00:00
james biyond 0 Reputation points
1 answer

Automatic UI updates with Blazor

Using a .NET 8 Blazor WebApp, I hope to build an application whose pages automatically send updates to all users. For example, when Joe adds a payment to an invoice, Sue (who is viewing the same invoice) should see the new balace reflected on her screen…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,535 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,456 questions
asked 2024-05-14T23:20:47.5966667+00:00
Jeff Bowman 101 Reputation points
answered 2024-05-15T03:28:45.7666667+00:00
Bruce (SqlWork.com) 59,131 Reputation points
1 answer

Dropdown gets closed while using mouse event args

Hi Everyone, This works fine when i hover over the button it shows and closes when it comes out of the dropdown however the dropdown still closes while mouse pointer is still in the dropdown. Could some share your ideas!! My need is to display 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,456 questions
asked 2024-05-13T06:24:56.8566667+00:00
Jagan 0 Reputation points
answered 2024-05-13T13:39:22.31+00:00
Jerry Fu - MSFT 561 Reputation points Microsoft Vendor
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,456 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,456 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,077 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) 59,131 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,456 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,067 questions
asked 2024-05-11T14:40:39.1366667+00:00
Maui Learner 520 Reputation points
commented 2024-05-12T11:20:43.7466667+00:00
Maui Learner 520 Reputation points
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,456 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) 59,131 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,456 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,056 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,292 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,456 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,067 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.) 27,906 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.
210 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,456 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,179 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) 59,131 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,456 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) 59,131 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,456 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,456 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,446 Reputation points
commented 2024-05-04T18:29:35.3166667+00:00
David Thielen 2,446 Reputation points