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…
How do I override the default Blazor scaffolding template in Visual Studio 2022
I want to edit the scaffolding template for Blazor CRUD pages, but my changes to the template are not being reflected in the output. I tried researching this issue, and the closest answers I could find are how to edit Razor templates, or MVC component…
Blazor for Excel Web Add-in?
Why there is no Blazor option to create Excel Web Add-ins?
In .Net 8 Blazor web app template application how I can use azure active directory authentication
Hello, As we know when we create an application using Blazor Web App Template in .Net 8, we get project one for Server and another one for Client. so how azure authentication will apply/configure in this application. More simply I just wanted know…
.NET MAUI Blazor App - CapturePhotoAsync() Opens camera in small size window. How to open camera in full size window?
IN .NET MAUI Blazor App (WINDOWS platform) , I'm using IMediaPicker interface to call CapturePhotoAsync(). It Opens camera in small size window in my desktop/tablet. Every time I have to resize manually. How to open camera in full size window by…