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…
Problem in bitmap to vector image converter
Hi, I want to make an app that converts a bitmap image to SVG format. Below you can see my code: @page "/" @using Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file"…
My application didn't run
Hi, I have an blazor webassembly application and when I try to run it the loacalhost doesn't launch Apparently, the problem come from the debugger; Have you an idea to fix it?
Counter page in blazor not working
This code pick from somewhere but not count when Click event in Counter page. can tell why. @page "/counter" <h1>Counter</h1> <p>The counter value is @currentCount</p> <button class="btn btn-primary"…
How can I trigger a method from the OrderConfirmation page in Blazor WASM?
Hi, I have a Blazor WASM Client e-commerce application where I'm showing cart counts in the NavMenu. I'm trying to call the GetCartCount() method from the OrderConfirmation razor page after payment has been completed to make the cart count zero, but I'm…
Make one picture for one Button click at the bottom picture
Hi All , Can someone show how modify this code then when we click it show the new blazor page . @page "/House" <h1>HOUSE</h1> @for (int i = 1; i <= images.Count; ++i) { <button class="btn-primary">Click…
How to resolve CORS errors when running Blazor WASM alongside Blazor Server and ASP.NET Core Web API?
Hi, I have a solution having Blazor WASM, Blazor Server and Asp.Net Core Web API. When I try to run the applications, the Blazor server and API work without any problem but I get this error while running the WASM. Cross-Origin Request Blocked: The Same…
Certification configuration: I'm not able to verify my domain
Hello, after developing a Blazor Web App I tried to connect the app with my own domain. So I have to verify my domain to bind the certificate to my app. First step (import certificate to key fault) seems to work (step is checked). But I do not see the…
Weird errors problem with dotnet watch with blazor/wasm.
I have a really annoying problem with dotnet watch and blazor/wasm. I have a solution in which I have multplie projects, for example an API, a blazor/wasm project and some common classlibraries. I start the API part with CTRL+F5, and I start the Blazor…