1,500 questions with Blazor tags

Sort by: Updated
1 answer

How to navigate to 3rd party URL in Blazor WASM?

Hi, I have an e-commerce solution. Using Blazor WASM .NET 6 for the client side. I am using a 3rd party payment gateway. Unfortunately, they don't have a great support and help desk so most of the time I am trying to find my way with trial and error. I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,500 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,642 questions
asked 2024-07-02T10:15:03.17+00:00
Cenk 991 Reputation points
commented 2024-07-04T19:53:01.9566667+00:00
Cenk 991 Reputation points
3 answers

How to insert HTML to a Blazor WASM?

I am working on an e-commerce solution. The client side is a Blazor WASM .Net 6 project. I am trying to use a 3rd party payment gateway and unfortunately, their support is very poor. I am trying to progress by trial and error. On the checkout razor page,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,500 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,642 questions
asked 2024-07-03T05:05:43.7233333+00:00
Cenk 991 Reputation points
commented 2024-07-04T06:28:35.18+00:00
Cenk 991 Reputation points
0 answers

Authentication Issues in Blazor Application After IIS Restart

Hello everyone, I'm encountering a significant issue with authentication in my Blazor application hosted on a Windows Server within a LAN environment. Problem Description: Whenever I turn off the IIS server to install updates for the application and then…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,500 questions
asked 2024-07-03T18:34:32.94+00:00
Hamza SOUIHEL 0 Reputation points
edited a comment 2024-07-04T04:39:09.12+00:00
Brando Zhang-MSFT 3,446 Reputation points Microsoft Vendor
0 answers

EditForm.OnValidSubmit called 4 times in rapid succession

Hi all; We have one user this is happening with. We cannot reproduce it and it is not happening to any others. And it has happened to them twice out of 8 uses of the relevant page. Needless to say, I can't create a MVE because we can't reproduce it. The…

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,500 questions
asked 2024-07-03T18:31:54.1666667+00:00
David Thielen 2,796 Reputation points
commented 2024-07-04T04:18:08.27+00:00
JasonPan - MSFT 4,811 Reputation points Microsoft Vendor
2 answers

Index was out of range in Blazor

When searched for Location that doesn't exist timeZoneAtLocation[0] is [] and is throwing the below error . Please suggest on how to check nulls. Note : Replace "My Bing Key" with Bing Key. timez =…

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,500 questions
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
664 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
240 questions
asked 2024-04-11T09:28:22.69+00:00
Anonymous
answered 2024-07-03T15:00:04.5033333+00:00
rbrundritt 16,551 Reputation points Microsoft Employee
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,500 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
136 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,403 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
240 questions
asked 2024-06-22T16:47:49.52+00:00
David Thielen 2,796 Reputation points
edited the question 2024-07-03T04:23:26.18+00:00
Ryan Hill 27,031 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Blazor accessing global variable issue

Hi all I asked here how to save variable state and i get long answers and what I want is to know if it's possible in blazor to define a variable somewhere in the app structure so I can access it from any component. something like in console program…

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,500 questions
asked 2023-10-01T07:18:17.1633333+00:00
Haviv Elbsz 2,071 Reputation points
commented 2024-07-03T00:04:29.12+00:00
Andy Mesta 0 Reputation points
7 answers

Best Report Tools for Blazor

My company is transitioning from legacy software that makes extensive use of Crystal Reports and we are looking for a tool compatible with Blazor. Many options come up in a Google search, but we don't have enough experience with the platform to make an…

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,500 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,877 questions
asked 2023-02-09T02:52:54.0333333+00:00
RussDFM 5 Reputation points
answered 2024-07-02T16:20:20.1366667+00:00
David Thielen 2,796 Reputation points
0 answers

Pentesting Blazor Server Apps

Hi, I came across a web app that is using Blazor Server, all the communication is happening through SignalR. Now in traditional web apps, pentesters use ZAP/Burp to intercept the traffic and manipulate with it. i.e. test access controls by toggling the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,500 questions
asked 2024-02-27T13:50:50.58+00:00
Najam ul Saqib 160 Reputation points
commented 2024-07-02T11:54:55.37+00:00
NOIPMYBIZCOM 0 Reputation points
4 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.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,500 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,642 questions
asked 2024-06-24T17:33:35.47+00:00
Cenk 991 Reputation points
answered 2024-07-02T06:00:31.8533333+00:00
Cenk 991 Reputation points
2 answers One of the answers was accepted by the question author.

Blazor web app is not working for any events, button click or dropdown selection in .NET 8

I have the following component, but none of the events are being triggered in .NET 8. I suspect this issue is due to the new rendering modes introduced in .NET 8. @using MyFirstBlazorWebApp.Components.UI <PageTitle>Dynamic Marvel…

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,500 questions
asked 2024-06-29T08:45:02.86+00:00
Rikam Palkar 61 Reputation points
accepted 2024-07-01T13:19:00.62+00:00
Rikam Palkar 61 Reputation points
2 answers One of the answers was accepted by the question author.

How to change code "Foreach" to Loop.

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1 style="color: blue;">Anda!!</h1> <p></p> 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,500 questions
asked 2024-06-28T14:53:36.5233333+00:00
MIPAKTEH_1 300 Reputation points
accepted 2024-06-30T05:34:39.3666667+00:00
MIPAKTEH_1 300 Reputation points
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,500 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,403 questions
asked 2024-06-26T14:04:53.61+00:00
David Thielen 2,796 Reputation points
commented 2024-06-27T22:32:48.5166667+00:00
Bruce (SqlWork.com) 61,491 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,500 questions
asked 2024-06-26T02:39:40.0366667+00:00
David Thielen 2,796 Reputation points
edited an answer 2024-06-27T01:48:58.1433333+00:00
JasonPan - MSFT 4,811 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,500 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,403 questions
asked 2024-06-26T13:59:00.12+00:00
David Thielen 2,796 Reputation points
edited an answer 2024-06-26T18:53:26.6066667+00:00
Bruce (SqlWork.com) 61,491 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,500 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,403 questions
asked 2024-06-25T18:32:01.48+00:00
David Thielen 2,796 Reputation points
commented 2024-06-26T16:27:42.41+00:00
Bruce (SqlWork.com) 61,491 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,500 questions
asked 2024-06-26T06:29:07.12+00:00
MIPAKTEH_1 300 Reputation points
accepted 2024-06-26T14:37:30.58+00:00
MIPAKTEH_1 300 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,500 questions
asked 2024-06-26T02:37:46.12+00:00
David Thielen 2,796 Reputation points
commented 2024-06-26T11:59:00.1533333+00:00
David Thielen 2,796 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,500 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,500 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) 61,491 Reputation points