Blazor app .NET 8 interactive buttons with @onclick not working
I am making a .NET 8 Blazor web app with interactive server components but when i make a simple button that has to perform a simple function i declared it doesn't do anything, no messages via the websockets, no UI change. I think i have done all the…
Blazor Training
AddOidcAuthentication in blazor Web App .net 9
I added the Oidc Authentication in blazor client project but it shows error IAccessTokenProvider Not Registered. I want to get the access token into HttpClient as authorization header bearer token. namespace ClientThree.Client; using…
Blazor Training

HttpClient showing not registered Blazor WebAssembly
How to consume WebApi in blazor webassembly in .net 8 or 9. I added scope Http Client but am still getting the error not registered Http Client. My project is the render InteractiveWebAssembly Project, which has two project Client and Main. …
Blazor Training


Blazor Server App Crushes on Deployment Slot Swap
We have a Blazor Server app that crushes sometimes when we swap deployment slots. We use Managed Identity in our database connection string to connect to an SQL Server database in Azure. It seems like a database connection issue. Can you please help…
Blazor Training
Toasts pop-up and automatic closure issues
hello, I implemented a pop-up box using JavaScript, Here is the JavaScript calling scheme. Toasts: <div class="toast-container bottom-0 end-0 p-3"> <div id="deptStatusChangeTip"…
Blazor Training
How to obtain the number of rows of data in a table tag through C # code ?
Hello, I want to obtain the number of rows of data in the table tag through C # code, but, However, I couldn't find how to bind table DOM elements. Can you teach me? Thank you test.razor : @page…
Blazor Training
How to monitor the completion of table data loading ?
hello, I want to perform some tasks after loading data in the table. How should I proceed? for example : <table class="table"> <thead> <tr> <th>Date</th> …
Blazor Training
Blazor web App No authenticationScheme was specified?
Hello, I added @attribute [Authorize (Roles="Administrator")] in test.razor component, Non Administrator role error when logging in. Error Info: An unhandled exception occurred while processing the request. InvalidOperationException: No…
Blazor Training
Add Timer To Login Page In Blazor
Hi i create new blazor 8 web app auto render I want to define a C# timer on the default login page razor private TimeSpan timeLeft = TimeSpan.FromMinutes(1).Add(TimeSpan.FromSeconds(59)); private System.Timers.Timer? countdownTimer; private void…
Blazor Training
Auth pages with auto render mode in blazor
I want to build a Blazor 8 or 9 project using Interactive Auto . But I want to implement authentication using JWT or identity , so that whenever I want, I can show the login page inside a modal or elsewhere.( without refresh page or ... ) Because…
Blazor Training
Appinsight setup without auto instrumentation
By default if you have an app service and you set up appinsight for it. Auto instrumentation is enabled. I'd like to disable it but I don't see in bicep provider any param for appinsight to do that…
Blazor Training
Blazor WebAssembly Keeps Accumulating Network Data on Page Navigation
Hi everyone, I'm facing an issue with my Blazor WebAssembly (WASM) application in Chrome. When I navigate between pages, the network data keeps accumulating instead of resetting. I noticed this in the Network tab of DevTools—at the bottom, where it shows…
Blazor Training
BlazorWebAppEntra .net9 sample app resets back to Home page
Download the BlazorWebAppEntra .net9 sample and create the app in Azure Entra with the other setup that you need to do in Azure. When you are able to login using Azure Entra into you Blazor Web App login click the Weather link in the Nav bar. You will…
Blazor Training
What to do; When load web appear menu "Item" right hand and click menu show picture left area We use Blazor Assembly standAlone.
1.TShirtItem.cs namespace TestBlazorApp.Models { public class TShirtItem { public string Name { get; set; } public string ImagePath { get; set; } } ```} 2.TShirtItem.razor @page "/tshirt-items" @using…
Blazor Training
How to fix a cryptographic keys error
I have recently upgraded the my web app to .Net9. I am now getting this error message from a call to CosmosDB to get a specific record... System.Security.Cryptography.CryptographicException: The key {92c2f09a-14ff-4cea-8f15-e09dcec74987} was not found in…
Blazor Training
No templates or subcommands found matching: 'blazorserver'
Question Under "Create Blazor components" Section There is a dotnet command for creating a Blazor app by using the blazorserver template in CLI, it doesn't work anymore. The command is below: dotnet new blazorserver -o BlazingPizzaSite -f…
Blazor Training
How to get a certificate in Blazor asp.net
I want to know how to get the free certificate on blazor asp.net. I tried learning from microsoft courses but it only provides badges.
Blazor Training
I have not been able to complete this module
I did everything exactly as this article states and cannot get this code to run correctly. I have troubleshooted with co pilot and git hub. I'm new to programming so I'm sure there is a knowledge gap that I just can't seem to reconcile. I will hold on to…
Blazor Training
'Interact with data in Blazor web apps' Training module out of order
Pages 4 & 5 are…
Blazor Training
need a using directive in the Blazor- use pages,routing etc Exercise:Change navigation
This example should have a @using BlazingPizza.Services before @inject OrderState OrderState otherwise it throws an error on build This question is related to the following Learning Module