1,645 questions with Blazor tags

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

Disable Information Logging

Hello, How do I disable the logging so I don't see those odd messages in the console (Google Chrome) ?? Whenever I run my blazor 8.0 app the following messages are displayed: Information: Normalizing '_blazor' to ' LINK Information: WebSocket connected…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
asked 2024-12-16T18:26:28.2633333+00:00
Kuler Master 386 Reputation points
commented 2025-01-11T18:48:27.4+00:00
Robert Howell 0 Reputation points
0 answers

Best practices for implementing Notifications and Streaming (Gen AI-enabled chats) in Blazor Web App

Need some architectural guidance. I am building a B2C solution using Blazor Web App model. The entire stack is C# and runs on Azure. I am just trying to understand some best practices for integrating the following capabilities: Push Notifications…

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
81 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,645 questions
asked 2025-01-11T13:56:34.58+00:00
Manoj Ganapathi 0 Reputation points
2 answers

Why can't my generic Blazor app read the LocalDb for Identity?

I wanted to see how a new Blazor Web app uses the LocalDb that is created when you create a new application that uses Individual Accounts during the project creation process. In my AppSettings.json file it created this connection…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
asked 2025-01-04T21:28:57.7166667+00:00
Rod Falanga 566 Reputation points
edited an answer 2025-01-10T19:25:55.35+00:00
AgaveJoe 29,281 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio 2022 Blazor Server project assigning random port

I am creating a .NET 9 Blazor Web App project using Visual Studio 2022 (17.12.1). I am authenticating using MS Graph to an Azure Web App which requires a consistent URL as a callback and have done this many times with earlier Blazor Server projects 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,645 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,340 questions
asked 2025-01-07T15:38:05.0533333+00:00
Scott Stoecker 20 Reputation points
accepted 2025-01-09T12:12:40.5366667+00:00
Scott Stoecker 20 Reputation points
1 answer

Blazor hangs when debugging with authentication

Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in?   Any hints on how to get past this issue?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 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,645 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.
11,186 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,015 questions
asked 2024-04-07T11:22:21.7633333+00:00
Finn Arildsen 76 Reputation points
answered 2025-01-08T18:11:07.2433333+00:00
Bruce (SqlWork.com) 69,121 Reputation points
1 answer

How to bypass "Pick an account" popup after Sign out

Hello all, Is there any possibility to bypass the "Pick user popup" after Sign out with Endpoint v2.0 at Azure AD? We need to execute automatic sign out at Blazor app while user is not active, but we got redirect at the popup and the user is…

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,645 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,807 questions
asked 2023-10-25T08:23:23.9666667+00:00
JT 5 Reputation points
commented 2025-01-08T03:03:36.1966667+00:00
Stephen Song 0 Reputation points
1 answer

RegularExpression for either valid email or username from the comma separated list

It's about the login form where some clients must enter their email and only few others their name. Currently I have the following: [Required(ErrorMessageResourceName = "Validation_RequiredField", ErrorMessageResourceType =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
asked 2024-12-30T11:03:03.83+00:00
Kuler Master 386 Reputation points
edited the question 2025-01-07T05:43:33.75+00:00
Jack J Jun 24,626 Reputation points Microsoft Vendor
2 answers

Server connection problem on a blazor site

Hi, I have made this app in blazor: Index Occasionally, I encounter this error: "Attempting to connect to the server." Do you know how to solve it? regards, Saeed

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,645 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 questions
asked 2025-01-04T20:52:03.84+00:00
Saeed Pooladzadeh 251 Reputation points
edited an answer 2025-01-06T16:11:00.8733333+00:00
Bruce (SqlWork.com) 69,121 Reputation points
4 answers

Blazor and ValidationGroups

I am in ASP.NET since the first version of .NET Framework and I am used to some features that are missing now. Please notice that I've just recently moved to Blazor. Currently, I am wondering why the ValidationGroups are not part of it. I have a kind…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 questions
asked 2025-01-04T13:22:46.66+00:00
Kuler Master 386 Reputation points
answered 2025-01-06T03:42:31.7266667+00:00
Zhi Lv - MSFT 32,831 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Blazor adds random attributes

Hello guys and all the best for the new year I am struggling with these strange attributes that Blazor keeps adding to all elements. I tried to find more about this behavior but none of the proposed solutions worked for me. For instance, MS suggests…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 questions
asked 2025-01-02T11:02:55.0933333+00:00
Kuler Master 386 Reputation points
edited the question 2025-01-03T13:00:50.49+00:00
Kuler Master 386 Reputation points
1 answer One of the answers was accepted by the question author.

Response status code does not indicate success: 404 (Not Found)

I get the following error while calling an api in my Blazor application: Following is the code where the error is pointing: And following is the calling api where request is made: What went wrong here? Any suggestions? Thanks, Puneet Chandiok

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 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.
11,186 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.
361 questions
asked 2025-01-03T04:04:52.01+00:00
Puneet Chandiok 20 Reputation points
commented 2025-01-03T06:55:32.61+00:00
SurferOnWww 3,696 Reputation points
2 answers

Blazor server JSRuntime call error function undefined

.net 8 Hello! We have a common error, but cant reproduce it in the browser. This is our code: protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { try { //so it do not scroll…

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,645 questions
asked 2024-12-30T14:22:35.26+00:00
Luc Gosso 5 Reputation points
accepted 2025-01-02T10:48:50.18+00:00
Luc Gosso 5 Reputation points
2 answers One of the answers was accepted by the question author.

How do I save file on form submit

Hello, As mentioned in the title, I want to save the file to the server. In the past, we were using SaveAs but in Blazor I can't get a reference of PostedFile directly. <div class="row pb-3"> <div class="col"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 questions
asked 2024-12-27T16:34:04.0766667+00:00
Kuler Master 386 Reputation points
accepted 2025-01-02T10:33:24.8666667+00:00
Kuler Master 386 Reputation points
1 answer

Adding Blazor Identity to existing Blazer project fails with a 'null path' exception

Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…

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,645 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,340 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 0 Reputation points
edited the question 2025-01-02T02:00:44.11+00:00
Jack J Jun 24,626 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Best approach for Mobile app development

Hello guys, I was wondering what is the best project template for mobile app development. I was reading little bit about the .NET MAUI but I am not quite sure if it's better than regular Android App or Mobile App (Xamarin). What is your experience with…

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,645 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2024-12-31T12:12:52.3266667+00:00
Kuler Master 386 Reputation points
commented 2025-01-01T23:22:22.5+00:00
Bruce (SqlWork.com) 69,121 Reputation points
1 answer

NET 8 MAUI Blazor: Login with Google Account

Hello to all Bard can't help me, he is in a loop and invents Nuget, which I am supposed to install in order to be able to log in to MAUI via Google Accoutn. But the Nuget does not exist in reality! ChatGPT only gives me outdated information. I can't find…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,682 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,645 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 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.
11,186 questions
asked 2023-11-25T20:23:59.64+00:00
perfect code 271 Reputation points
commented 2024-12-31T20:22:15.7333333+00:00
Soumyadip Majumder 80 Reputation points
1 answer

Making a Blazor WebAssembly E-commerce Application Responsive with Flexbox

A Blazor WebAssembly e-commerce application has been built, but the design looks good only on a 23-inch 1920x1080 laptop. The layout includes a header, a left navigation menu, and a footer that is consistent across all pages. The goal is to make this…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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,645 questions
asked 2024-12-31T08:20:29.7566667+00:00
Cenk 1,021 Reputation points
edited an answer 2024-12-31T16:58:16.6566667+00:00
Bruce (SqlWork.com) 69,121 Reputation points
2 answers

Getting error of JS function call

I am getting error while loading, I created the js function and call into razor component on load it will throw error as not found or undefined in browser console. after throwing the error the js function works fine too. How I can fix this to stop this ?…

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,645 questions
asked 2023-02-28T11:31:00.4333333+00:00
Prathamesh Shende 381 Reputation points
commented 2024-12-30T14:01:15.5966667+00:00
Luc Gosso 5 Reputation points
1 answer

POST API Call Failing with 405 Error in Azure Static Web Apps

A Blazor WebAssembly app is configured to connect to a SQL database following the guidance in this article: How to host static web apps. The API status is healthy, and GET calls work as expected. However, POST calls to add records to the database return…

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,645 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,036 questions
asked 2024-12-02T16:13:21.29+00:00
Shreyas Rastogi 225 Reputation points
edited the question 2024-12-30T07:45:00.55+00:00
ShaktiSingh-MSFT 16,166 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,645 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
commented 2024-12-28T18:48:11.9033333+00:00
Bruce (SqlWork.com) 69,121 Reputation points