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…
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…
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'…
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…
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 ??
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…
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"…
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…
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?
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?
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…
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…
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…
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…
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…
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…
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…
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) { …
My aurhorization shows fore alittle my mainlayout and then redirect to unauthorizedpage
<Router AppAssembly="@typeof(Admin).Assembly"> <Found Context="routeData"> <AuthorizeRouteView RouteData="@routeData"…
How does Azure know when to scale out?
Hi all; I understand how to set my Azure App Service to scale out and how I am then charged, What I don't understand is, how does Azure know when to scale out my system? From everything I've read it "just knows." How does it know? Is it as…