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 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 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…
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…
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…
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…
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…
Microsoft.Web/serverfarms (BadGateway error) in Azure Web App service deployment
{ "status": "Failed", "error": { "code": "Forbidden", "message": "The subscription '5c793fb4-62d4-4c5b-a17a-07fc43a67282' is not allowed to create or update the…
Why does Blazor server app takes away memory while being inactive?
We developed a Blazor server app and is going through testing phase. Our clients have some concern. What we notice is that before the app is launched memory is 4784 K, one the app is launched and at the end of rendering the login page it is already over…
Blazor not found in Visual studio,blazor .net framwork template not found
Blazor template is being not found in visual studio This question is related to the following Learning Module
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…
Blazor right slide panel using Fluent UI Library
Hello, I have implemented a right-side sliding panel using the Fluent UI library. When I click on the cards the edit panel opens directly. However, I am encountering an issue where the data inside the edit panel does not load it opens empty. The data…
How to show 3 picture per line on pages Blazor.
@page "/" <PageTitle>Home</PageTitle> <h1>HOUSE</h1> @for (int i = 0; i < images.Count - 1; i = i + 3 ) { <img src=@($"/Images/{i}") /> } @code { // Define the list of image file names …
I enabled Web Socketing on my IIS and now old ASPX page get error 404, what can I do to fix that?
I was building a server side .NET application for my company. I enabled web socketing, which fixed my blazer webserver, however the old ASPX web file are no longer working. Any ideas on how I can fix this?
how to use muti -language in blazor?
how to use muti-language ?
Entra ID - OIDC BFF pattern - does not work
Hi, I have a blazor hybrid app with both webassembly and server. Currently I'm using the oidc flow with b2c (https://learn.microsoft.com/en-us/aspnet/core/blazor/security/blazor-web-app-with-oidc?view=aspnetcore-8.0&pivots=with-bff-pattern) and…
How to make page in Blazor empty or Blank.
I didn't find any way to load empty Blazor page. somebody show how to do.
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …