1,343 questions with Blazor tags

Sort by: Updated
1 answer

Why is OnInitializedAsync() called twice on a page reload

Hi all; Normally when a page is being created & rendered in Blazor version 8, RenderMode.InteractiveServer, OnInitializedAsync() is called once. But when I do a Reload on Chrome, it is called twice. And all child components in the page are called…

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,343 questions
asked 2024-03-17T23:34:40.2933333+00:00
David Thielen 1,926 Reputation points
commented 2024-03-19T02:28:04.98+00:00
David Thielen 1,926 Reputation points
3 answers

MUAI Blazor App: A Blank "Screen" between splash page and login page.

Hi - We are using MAUI+ Blazor to develop our mobile App. One thing we notice is that as the app is starting, the splash screen shows, then it hides, then a very fast white flash shows right before the login page (or index page), because we are…

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,343 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,704 questions
asked 2023-01-06T18:14:57.55+00:00
Bianyu Wang 11 Reputation points
commented 2024-03-18T16:51:32.8966667+00:00
Bruce (SqlWork.com) 53,251 Reputation points
1 answer

Licensing Question

I am trying to find the licensing requirements if any to move to Microsoft technology . Will be great if anyone can help on this For an application using the below tech stack, what are the licensing requirements for a. Deploying in Client onPrem/Cloud…

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,343 questions
asked 2024-03-01T17:02:02.9566667+00:00
CsK 0 Reputation points
edited the question 2024-03-18T05:45:10.36+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can I programmatically determine the Blazor render mode

Hi all; How can I get the render mode Blazor is using for my component. There is this suggestion but that won't work for Auto as it could be either. I want to verify I've configured everything properly so my app is tunning in InteractiveServer. thanks -…

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,343 questions
asked 2024-03-17T17:45:46.4966667+00:00
David Thielen 1,926 Reputation points
accepted 2024-03-18T03:45:04.71+00:00
David Thielen 1,926 Reputation points
0 answers

How do I get the Remote IP address in Blazor version 8

Hi all; In Blazor versions 6/7 I can get the remote IP address in _Host.cshtml with: @inject ILogger<Pages__Host> Logger RemoteIp = HttpContext.GetRemoteIpAddress(Logger); But this does not work in App.razor in version 8. So how can I get this in…

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,343 questions
asked 2024-03-17T17:48:25.16+00:00
David Thielen 1,926 Reputation points
commented 2024-03-18T03:35:36.3733333+00:00
David Thielen 1,926 Reputation points
5 answers

Reload the page to restore functionality, Blazor Server .NET 8

I am here to complain about the famous error: Could not reconnect to the server. Reload the page to restore functionality. I develop Apps using .NET 8 and Blazor Server My customers use the App on mobile phone but if they turned off the screen for while…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,242 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 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,343 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,053 questions
asked 2024-03-10T19:51:17.2366667+00:00
Waleed 1 Reputation point
commented 2024-03-17T15:41:25.2366667+00:00
Bruce (SqlWork.com) 53,251 Reputation points
3 answers

A bug?? -> .NET 8 - the page 'error' in the new Blazor Web App (WebAssembly) redirects to 404

If you create the new Blazor Web App (WebAssembly) in .NET 8 you will see that structure: Now run application and open "/error" page, firstly you will see the error page: and then you will be redirected to 404 page: Is this a bug ??

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,343 questions
asked 2024-02-24T19:39:50.5733333+00:00
aleksw 1 Reputation point
answered 2024-03-15T15:15:37.9266667+00:00
Florin Paraschivescu 0 Reputation points
3 answers One of the answers was accepted by the question author.

Button Click System.InvalidCastException

I encountered a System.InvalidCastException: Unable to cast object of type 'WhereSelectListIterator`2[RateApp.Pages.Index+InQuestion,System.Decimal]' to type 'System.IConvertible'. at System.Convert.ToDecimal(Object value) at…

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,343 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,704 questions
asked 2024-02-22T12:05:07.64+00:00
Maui Learner 360 Reputation points
accepted 2024-03-15T07:47:51.22+00:00
Maui Learner 360 Reputation points
0 answers

How To make Common Filter Component in Blazor Web Assembly project

Please Describe How i make Common filter component

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,343 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-03-14T06:27:12.5133333+00:00
Azizullah Ali 0 Reputation points
commented 2024-03-14T12:11:47.7533333+00:00
Jerry Fu - MSFT 556 Reputation points Microsoft Vendor
1 answer

Is Blazor WebAssembly use able at large volume data driven application?

We have implemented a healthcare application using Blazor Web Assembly on .Net 8. Showing very poor performance at production. We have used JWT bearer token for session management. When the load is high application abruptly logs out though the token 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,343 questions
asked 2024-03-13T21:55:41.3566667+00:00
Faruq Ahammad 0 Reputation points
commented 2024-03-14T08:39:10.0866667+00:00
Ping Ni-MSFT 1,620 Reputation points Microsoft Vendor
0 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,343 questions
asked 2024-03-11T06:57:18.34+00:00
Mrbanad 20 Reputation points
commented 2024-03-14T08:37:28.4666667+00:00
Ping Ni-MSFT 1,620 Reputation points Microsoft Vendor
1 answer

Trying to add MicrosoftAccounts external authentication

I built a test app as I was trying to check how Microsoft Authentication works. I created blazor ssr app then added the code above. But seems like it can't find the extension. I tried with the recomended WebApp but sill having the same issue. Also, i…

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.
5,238 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,343 questions
asked 2024-03-12T08:55:38.23+00:00
EJ 0 Reputation points
commented 2024-03-14T06:33:10.0666667+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
2 answers

System.ObjectDisposedException: Cannot access a disposed object in Blazor component

I am working on a Blazor project. I have a custom component to show loading animation on a button after clicked to do some async works. <button class="btn @ButtonCssClass" form="@ForForm" type="@Type"…

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,343 questions
asked 2024-03-09T09:49:42.31+00:00
Galvin Nguyen 0 Reputation points
commented 2024-03-14T01:37:37.4566667+00:00
Ping Ni-MSFT 1,620 Reputation points Microsoft Vendor
1 answer

Typescript Declaration Files showing as compilation error in Completely Unrelated Project

This has been happening since the dawn of time and I'm finally annoyed enough to reach out to see if this can be resolved. I have a VS solution (this one happens to be a Blazor App) that shows hundreds of errors in http.d.ts which is not in my solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,242 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,343 questions
asked 2024-03-12T00:32:36.51+00:00
Bob Crowley 0 Reputation points
commented 2024-03-13T23:00:56.21+00:00
Bruce (SqlWork.com) 53,251 Reputation points
1 answer One of the answers was accepted by the question author.

Two Way Binding Dropdown

Currently "Sr Citizen" & "Non Sr Citizen" are part of slider , I wish to move the same to Dropdown and display in Two Way Binding and call , please suggest. @onchange="@UpdateCurrentInterestValue" @page…

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,343 questions
asked 2024-03-12T13:11:44.53+00:00
Maui Learner 360 Reputation points
accepted 2024-03-13T19:56:47.4766667+00:00
Maui Learner 360 Reputation points
0 answers

Strange issue on label id

Hi, I keep encountering errors in my label and input tags despite having made several changes. When I check the code in both Visual Studio and AI, I can't seem to find any errors. However, when I run the code, the browser shows issues. What could be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 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,343 questions
asked 2024-03-06T13:10:50.96+00:00
Saeed Pooladzadeh 231 Reputation points
commented 2024-03-13T17:36:22.6066667+00:00
AgaveJoe 25,841 Reputation points
5 answers

problem with favicon on the blazor site

Hello, I have made a site in blazor server. Why is my favicon not displayed on the site, while when I run it in VisualStudio, it is displayed without any problem? thanks

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 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,343 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,202 questions
asked 2022-11-24T11:20:58.617+00:00
Saeed Pooladzadeh 231 Reputation points
commented 2024-03-13T07:55:02.9766667+00:00
Ugur Ozyildiz 0 Reputation points
0 answers

CultureNotFoundException when addig AddRoles<IdentityRole>() in Blazor web app

I have an issue when deploy my Blazor web app on Azure. On my PC when running from Visual Studio all works fine, but when i deploy it to Azure I got application exception on the server: Connection id "0HN1U17HBS5UB", Request id…

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,343 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,629 questions
asked 2024-03-06T18:54:12.8433333+00:00
Patryk Gonera 0 Reputation points
commented 2024-03-13T03:55:43.39+00:00
Grmacjon-MSFT 15,066 Reputation points
4 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,343 questions
asked 2024-03-09T14:03:15.4966667+00:00
David Thielen 1,926 Reputation points
commented 2024-03-13T01:48:25.8566667+00:00
JasonPan - MSFT 3,946 Reputation points Microsoft Vendor
2 answers

Graph ERROR: The mailbox is either inactive, soft-deleted, or is hosted on-premise

I'm developing a WebApplication based on Blazor Server and authentication via Microsoft Entra. I need to explore the Graph. Actually i have a 365 Family Plan. The app in Microsoft Entra is configured and i can successfully login from the Web App. If i…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,526 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,215 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,343 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,948 questions
asked 2024-03-08T10:32:12.2633333+00:00
Alemik 0 Reputation points
commented 2024-03-12T08:10:32.1233333+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor