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…
Blazor Open a page in a new Browser tab using navigation manager?
Could please advise me the way of open a page in new tab using Navigation manager and how to show pdf file in browser window?
Blazor .net 8 server project editForm textfield and teaxtarea not editable
Hi everyone, I'm working on a Blazor project where I need to implement an editable modal dialog for adding and updating tasks. I attempted to follow some examples and even tried using a custom TaskModel, but I keep running into issues. Here's what I'm…
Blazor Server OIDC Logout with Keycloak Redirects but Session Not Cleared
have a Blazor Server application configured with OpenID Connect (OIDC) authentication using Keycloak. Login works fine and I can authenticate successfully. However, when I log out, I get redirected to the Keycloak logout page but upon returning to my…
Blazor HeadContent
I have some Open Graph meta tags that I add within the HeadContent. The problem is that I must add all those tags on every page. <HeadContent> <meta name="description" content="@metaDescription" /> <meta…
Arrange picture from right to left in Blazor
Each picture have TextBox at bottom.Somebody help @page "/" <PageTitle>Home</PageTitle> <h1>Hello, world!</h1> Welcome to your new app. <p></p> @foreach (var image in images) { <p> <img…
Breaking Change
Created a brand new Blazor Web Assembly Stand Alone project with Visual Studio 2022, .net 8. Updated the "Microsoft.AspNetCore.Components.WebAssembly" commponents from Version="8.0.3" to Version="8.0.6" The app does not…
Create, Reference and use a Razor class library.
Hello! I'm training on Microsoft Learn. My current stage is the following module: https://learn.microsoft.com/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…
How do you Register a Blazor App to Upload Photos to Azure Blob Storage
I've created a simple Blazor Application based on the standard Blazor Web application template to upload photos to Azure Blob Storage. It works when I run it in my computer, but I'm having trouble getting it to run when I Publish it to an Azure App…