1,468 questions with Blazor tags

Sort by: Created
1 answer

Why the 1 sec delay after the websocket request?

Hi all; I have a Blazor server app running on Azure App Services. The Blazor app uses SignalR and I have it set to use web sockets. What is going on here on the web socket request? It looks like that request is causing a 1 second delay until it then…

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,468 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2024-06-26T14:04:53.61+00:00
David Thielen 2,506 Reputation points
commented 2024-06-27T22:32:48.5166667+00:00
Bruce (SqlWork.com) 59,556 Reputation points
1 answer

Is there a way to load my Blazor page faster?

Hi all; I go to a page on my Blazor (server) app, then press refresh. Chrome normal reload. The very first request of the browser (F12 - Network) is for Dashboard which is the page it is refreshing. That request takes 1.02 seconds (ow!!!) This 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,468 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2024-06-26T13:59:00.12+00:00
David Thielen 2,506 Reputation points
edited an answer 2024-06-26T18:53:26.6066667+00:00
Bruce (SqlWork.com) 59,556 Reputation points
1 answer One of the answers was accepted by the question author.

I have 2 blazor page, Home and House.In House page contain pictures.How to put title for every pictures.

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <PageTitle>Home</PageTitle> <h1>Hello, world!</h1> Welcome to your new app. <p></p> <div class='e-input'…

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,468 questions
asked 2024-06-26T06:29:07.12+00:00
MIPAKTEH_1 240 Reputation points
accepted 2024-06-26T14:37:30.58+00:00
MIPAKTEH_1 240 Reputation points
1 answer

Why does Blazor Server have the browser call blazor.server.js multiple times?

Hi all; I watched a page load using F12 and blazor.server.js is loaded multiple times (see below). I understand the browser loading multiple times because of the ?id=... being different on each. But why does the Blazor code reloading the same Javascript…

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,468 questions
asked 2024-06-26T02:39:40.0366667+00:00
David Thielen 2,506 Reputation points
edited an answer 2024-06-27T01:48:58.1433333+00:00
JasonPan - MSFT 4,791 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why does the one _blazor.js call take 1.5 minutes?

Hi all; I am load testing my blazor app. As the load test was running I loaded a page myself with F12 displaying in my browser and see this (it consistently happens): Why does this one call to blazor.server.js take 1.5 minutes? And is there anything I…

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,468 questions
asked 2024-06-26T02:37:46.12+00:00
David Thielen 2,506 Reputation points
commented 2024-06-26T11:59:00.1533333+00:00
David Thielen 2,506 Reputation points
0 answers

Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR

I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,553 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,468 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
131 questions
asked 2024-06-25T23:30:39.3+00:00
C-Jesse Bryan 0 Reputation points
commented 2024-06-27T04:11:48.61+00:00
JasonPan - MSFT 4,791 Reputation points Microsoft Vendor
2 answers

Why is the Azure App Service response time pegged at 1.5 minutes

Hi all; I am using the Azure App Service monitor to track the response time under load test. This is what I am getting. I think this is due to a single call to blazor.js that itself is taking 1.5 minutes. Is that correct? And if that is the issue, 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,468 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2024-06-25T18:32:01.48+00:00
David Thielen 2,506 Reputation points
commented 2024-06-26T16:27:42.41+00:00
Bruce (SqlWork.com) 59,556 Reputation points
3 answers

How to fix Add-Migration problem?

Hi, I am trying to add another entity to the database in my e-commerce solution which includes client and admin projects using Blazor WASM and Server, Asp.Net Core API, and data access projects. However, I am getting an error message as shown below: How…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
716 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,321 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,468 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,541 questions
asked 2024-06-24T17:33:35.47+00:00
Cenk 986 Reputation points
answered 2024-06-24T23:45:29.2733333+00:00
SurferOnWww 2,326 Reputation points
2 answers One of the answers was accepted by the question author.

Use SignalR service with my Blazor server app running on Azure App Service

Hi all; I've read in numerous places that adding a SignalR service to my Blazor app running on Azure App service, where the SignalR service connects to the remote client browser on one side and connects to my Blazor app on the other side should speed up…

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,468 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
131 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2024-06-22T16:47:49.52+00:00
David Thielen 2,506 Reputation points
accepted 2024-06-24T17:42:10.13+00:00
David Thielen 2,506 Reputation points
3 answers

How to close Bootstrap modal in Blazor WASM?

Hi, In my Blazor WASM (.net 6) application, I am displaying a modal popup as follows. <!-- Modal --> <div class="modal fade bg-transparent" id="templatemo_search" tabindex="-1" role="dialog"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,321 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,468 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,541 questions
asked 2024-06-21T19:34:00.18+00:00
Cenk 986 Reputation points
edited a comment 2024-06-24T18:38:48.23+00:00
Bruce (SqlWork.com) 59,556 Reputation points
1 answer One of the answers was accepted by the question author.

Why is File.WriteAllText Working in a Blazor Server app, and then why not in a WASM WPA app?

I have a Blazor Server app that I am converting to WASM WPA. The app uses System.IO.File.WriteAllText to create local files. That's working in the Server app running in Chrome (i.e. files are created in directories I select). But it's not working 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,468 questions
asked 2024-06-19T20:24:02.1433333+00:00
Steve Rehling 85 Reputation points
commented 2024-06-24T23:00:45.14+00:00
Bruce (SqlWork.com) 59,556 Reputation points
1 answer

Blazor server logout on SignalR connection break

My Blazor server-side application logs out the user whenever the SignalR connection breaks. For example, when I lock my phone for half an hour and then return to the site, I'm logged out. How can I prevent this from happening?

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.
642 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,321 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,468 questions
asked 2024-06-19T20:07:08.9166667+00:00
Mrbanad 30 Reputation points
commented 2024-06-20T16:07:43.5966667+00:00
Bruce (SqlWork.com) 59,556 Reputation points
1 answer

How to use AddScope in Blazor .NET 8

I am currently learning Blazor in .NET 8 (server) and I'm having trouble understanding a key concept. I need to have a persistent service per user, so I can't use a singleton. The thing that makes sense is a scope, from all the stuff I've read online…

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,468 questions
asked 2024-06-18T13:29:52.3533333+00:00
Gabriel 5 Reputation points
commented 2024-06-18T23:53:52.38+00:00
Soaad Nahas 0 Reputation points
2 answers One of the answers was accepted by the question author.

Save file from somebody to my web Blazor.I try browse in internet but not found how to start write the code.Let said put that file int TextBox and then need to upload,,How

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <PageTitle>Home</PageTitle> <h1>Hello, world!</h1> Welcome to your new app. <p></p> @foreach (var image in images) { <div…

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,468 questions
asked 2024-06-18T10:04:36.0633333+00:00
MIPAKTEH_1 240 Reputation points
commented 2024-06-18T14:48:06.76+00:00
MIPAKTEH_1 240 Reputation points
1 answer One of the answers was accepted by the question author.

Updating Blazor 8 Application - Special Attention Needed After Recent Updates

Hello, I previously posted a question about a Blazor Server application I was working on, which was functioning correctly at the time. However, after recent updates to Blazor 8, it seems that the application requires additional steps to work…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,553 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,468 questions
asked 2024-06-18T08:44:34.06+00:00
Yusuf 731 Reputation points
accepted 2024-06-19T06:05:49.25+00:00
Yusuf 731 Reputation points
0 answers

Issue with FluentUI in Blazor WASM: Deserialization Error on Deployed App

I'm experiencing a deserialization error with FluentUI components in my Blazor WASM web app. The error only occurs on the deployed app (on Azure Static Web App), not in the localhost development environment. I'm using the FluentUI framework for UI…

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,468 questions
asked 2024-06-17T17:15:14.9066667+00:00
Vũ Hoàng 0 Reputation points
1 answer

How to publish a WASM app for offline use

I have a Blazor WASM app in VS 2022 Community v 17.10.1 that I am trying to run offline, but am getting several "failed to load resource" and one "failed to register a Service Worker" exceptions as shown below. I followed these…

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,468 questions
asked 2024-06-16T17:06:09.7833333+00:00
Steve Rehling 85 Reputation points
commented 2024-06-24T16:52:07.25+00:00
Bruce (SqlWork.com) 59,556 Reputation points
1 answer One of the answers was accepted by the question author.

How to set Click on picture then go to new different page.That mean one picture one new page.

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <PageTitle>Home</PageTitle> <h1>Hello, world!</h1> Welcome to your new app. <p></p> @foreach (var image in images) { …

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,468 questions
asked 2024-06-16T04:17:09.63+00:00
MIPAKTEH_1 240 Reputation points
accepted 2024-06-17T04:35:08.76+00:00
MIPAKTEH_1 240 Reputation points
0 answers

How to organize icons on navbar using Bootstrap in a Blazor WASM app with .NET 6?

I'm working on an e-commerce app and I want to properly organize the icons on my navbar using Bootstrap 5 CSS. Specifically, I want to display the icons side by side, with equal spacing, and have the username appear right under the green login icon. Can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,321 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,468 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,541 questions
asked 2024-06-14T13:48:29.6+00:00
Cenk 986 Reputation points
commented 2024-06-20T09:30:21.6633333+00:00
Jerry Fu - MSFT 571 Reputation points Microsoft Vendor
1 answer

Unable to filter to, cc & bcc recipients using latest version of graph sdk and filter query

I am facing issues filtering to, cc, and bcc recipients using the latest version of Graph SDK in a .NET MAUI Blazor Hybrid project. Can someone provide any insights or suggestions to resolve this issue?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,173 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,468 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,108 questions
asked 2024-06-14T08:05:20.58+00:00
Kumaresan C 0 Reputation points
edited an answer 2024-06-23T19:30:24.8633333+00:00
AsithwMSFT 1,420 Reputation points Microsoft Vendor