1,472 questions with Blazor tags

Sort by: Updated
0 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,338 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,472 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,562 questions
asked 2024-07-03T05:05:43.7233333+00:00
Cenk 986 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,472 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,258 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.
236 questions
asked 2024-06-22T16:47:49.52+00:00
David Thielen 2,506 Reputation points
edited the question 2024-07-03T04:23:26.18+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
1 answer

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,472 questions
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
649 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.
236 questions
asked 2024-04-11T09:28:22.69+00:00
Anonymous
edited the question 2024-07-03T04:15:48.0366667+00:00
Ryan Hill 26,866 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,472 questions
asked 2023-10-01T07:18:17.1633333+00:00
Haviv Elbsz 2,006 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,472 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,854 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,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,566 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,472 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-07-02T16:16:03.28+00:00
David Thielen 2,506 Reputation points
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,338 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,472 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,562 questions
asked 2024-07-02T10:15:03.17+00:00
Cenk 986 Reputation points
edited an answer 2024-07-02T15:39:39.94+00:00
Bruce (SqlWork.com) 60,201 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,338 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,472 questions
asked 2024-02-27T13:50:50.58+00:00
Najam ul Saqib 100 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.
717 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,472 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,562 questions
asked 2024-06-24T17:33:35.47+00:00
Cenk 986 Reputation points
answered 2024-07-02T06:00:31.8533333+00:00
Cenk 986 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,472 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,472 questions
asked 2024-06-28T14:53:36.5233333+00:00
MIPAKTEH_1 260 Reputation points
accepted 2024-06-30T05:34:39.3666667+00:00
MIPAKTEH_1 260 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,472 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,258 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) 60,201 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,472 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

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,472 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,258 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) 60,201 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,472 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,258 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) 60,201 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,472 questions
asked 2024-06-26T06:29:07.12+00:00
MIPAKTEH_1 260 Reputation points
accepted 2024-06-26T14:37:30.58+00:00
MIPAKTEH_1 260 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,472 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
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,472 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,472 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,201 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,338 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,472 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,562 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,201 Reputation points