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…
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…
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…
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 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?
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…
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 =…
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 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…
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…
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
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…
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"> …
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:…
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…
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…
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…
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 ?…
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…
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>** …