1,479 questions with Blazor tags

Sort by: Updated
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,479 questions
asked 2024-06-26T02:39:40.0366667+00:00
David Thielen 2,526 Reputation points
edited an answer 2024-06-27T01:48:58.1433333+00:00
JasonPan - MSFT 4,796 Reputation points Microsoft Vendor
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,479 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,284 questions
asked 2024-06-26T13:59:00.12+00:00
David Thielen 2,526 Reputation points
edited an answer 2024-06-26T18:53:26.6066667+00:00
Bruce (SqlWork.com) 60,386 Reputation points
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,479 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,284 questions
asked 2024-06-25T18:32:01.48+00:00
David Thielen 2,526 Reputation points
commented 2024-06-26T16:27:42.41+00:00
Bruce (SqlWork.com) 60,386 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,479 questions
asked 2024-06-26T06:29:07.12+00:00
MIPAKTEH_1 280 Reputation points
accepted 2024-06-26T14:37:30.58+00:00
MIPAKTEH_1 280 Reputation points
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,479 questions
asked 2024-06-26T02:37:46.12+00:00
David Thielen 2,526 Reputation points
commented 2024-06-26T11:59:00.1533333+00:00
David Thielen 2,526 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,479 questions
asked 2024-02-24T19:39:50.5733333+00:00
aleksw 6 Reputation points
commented 2024-06-25T16:27:46.4533333+00:00
Ahmad Nawaz 0 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,479 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) 60,386 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,346 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,479 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,579 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) 60,386 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,479 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) 60,386 Reputation points
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,270 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,479 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,148 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
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.
649 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,479 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) 60,386 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,479 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,579 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 5 Reputation points
commented 2024-06-20T14:22:15.8+00:00
Panchal, Aayush VineshKumar 0 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,346 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,479 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,579 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 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,573 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,479 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
2 answers

How to add a different CSS to a razor page in Blazor WASM?

I am working on a Blazor WASM e-commerce application using the .NET 6 old version with a default template. I want to add a new razor page with a different look while keeping the old ones in the project. How can I achieve this? Specifically, I want to add…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,479 questions
asked 2024-06-04T13:24:09.7766667+00:00
Cenk 986 Reputation points
edited the question 2024-06-19T02:27:07.1733333+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
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,479 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,479 questions
asked 2024-06-18T10:04:36.0633333+00:00
MIPAKTEH_1 280 Reputation points
commented 2024-06-18T14:48:06.76+00:00
MIPAKTEH_1 280 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,479 questions
asked 2024-06-17T17:15:14.9066667+00:00
Vũ Hoàng 0 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,479 questions
asked 2024-06-16T04:17:09.63+00:00
MIPAKTEH_1 280 Reputation points
accepted 2024-06-17T04:35:08.76+00:00
MIPAKTEH_1 280 Reputation points
1 answer

My aurhorization shows fore alittle my mainlayout and then redirect to unauthorizedpage

<Router AppAssembly="@typeof(Admin).Assembly"> <Found Context="routeData"> <AuthorizeRouteView RouteData="@routeData"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,479 questions
asked 2024-06-11T08:22:45.62+00:00
Ioannis Karakostas 0 Reputation points
answered 2024-06-13T22:30:10.0433333+00:00
Bruce (SqlWork.com) 60,386 Reputation points