Blazor WebAssembly Standalone App shows blank page in Azure environment
I just upgraded my backend (ASP.NET Core) and frontend (Blazor WebAssembly) from .NET 6 to .NET 8. I had to do few changes to make it work and succeed in my Azure DevOps pipelines but locally everything works now basically. Now that it's deployed in my…
How do I allow multiple NAMES.domain.com for my web app?
Hi all; I have a Blazor app running on Azure App Server. You presently get to it using ohana.tradewindsstudios.us which works great. I want to allow MyName.tradewindsstudios.us, YourName.tradewindsstudios.us, AnyName.tradewindsstudios.us, etc. to go to…
Is it possible for a Blazor app to access Windows Server Active Directory?
We are beginning to consider writing some new apps using Blazor and .NET 8. I've played around with the beginner's tutorials, which are nice, but not enterprise quality. One of my colleagues has been experimenting with Blazor. He has approached it from…
I have 3 image in Blazor page.Want do every image have own Uploadfile that mean one image one uploadfile
@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1 style="color: blue;">Promosi Barang Anda!</h1> <p></p> Welcome to your new app. <p></p> @for (int i = 0; i <…
Blazor webassembly shows 405 error in localhost (and also when deployed to iis) when redirect back from payment website
I have created a blazor webaseembly project using .net 7. The blazor app redirects to an external url for payment. Once payment is done the payment status page(which is in the blazor app) should be loaded as that's the return url set while calling the…
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…
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,…
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…
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…
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 =…
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 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…
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 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>…
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…
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…
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…
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) { …
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…
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…