31 questions with Blazor Training tags

Sort by: Updated
1 answer

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-05-02T14:08:16.08+00:00
qnqdotnet 0 Reputation points
answered 2025-05-03T16:34:39.2+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-30T07:41:07.5866667+00:00
Prathamesh Shende 421 Reputation points
commented 2025-05-02T04:55:02.8166667+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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 Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-23T16:18:32.4033333+00:00
Prathamesh Shende 421 Reputation points
accepted 2025-04-30T07:30:41.1366667+00:00
Prathamesh Shende 421 Reputation points
2 answers

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-13T18:38:26.1433333+00:00
Hayk Shirinyan 0 Reputation points
answered 2025-04-28T07:37:40.37+00:00
Miyari 001 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-25T06:55:54.0766667+00:00
929Free 601 Reputation points
commented 2025-04-25T15:55:00.14+00:00
Bruce (SqlWork.com) 75,051 Reputation points
2 answers One of the answers was accepted by the question author.

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-23T16:42:42.12+00:00
929Free 601 Reputation points
answered 2025-04-24T06:10:02.9466667+00:00
Gitanza 003 0 Reputation points
1 answer One of the answers was accepted by the question author.

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 Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-22T07:01:21.2066667+00:00
929Free 601 Reputation points
accepted 2025-04-22T12:04:47.7333333+00:00
929Free 601 Reputation points
1 answer One of the answers was accepted by the question author.

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-16T05:34:37.9066667+00:00
929Free 601 Reputation points
accepted 2025-04-16T09:38:31.7333333+00:00
929Free 601 Reputation points
1 answer

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-13T15:26:28.08+00:00
Mahdi Elahi 31 Reputation points
edited a comment 2025-04-16T02:55:45.0466667+00:00
Mahdi Elahi 31 Reputation points
1 answer

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-13T16:46:18.7+00:00
Mahdi Elahi 31 Reputation points
edited an answer 2025-04-14T16:53:45.2533333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

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 Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-04-11T15:45:43.8266667+00:00
Oussama Dhouioui 20 Reputation points Microsoft Employee
answered 2025-04-14T03:27:58.9733333+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
2 answers

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-03-28T06:26:38.78+00:00
Mahir Mirapakayala 0 Reputation points
answered 2025-03-28T15:27:51.1366667+00:00
Bruce (SqlWork.com) 75,051 Reputation points
3 answers

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-03-23T10:41:07.2666667+00:00
Saeed Dudhia 0 Reputation points
commented 2025-03-26T07:12:53.3733333+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-03-10T03:48:11.5+00:00
MIPAKTEH_1 605 Reputation points
accepted 2025-03-19T03:40:30.8933333+00:00
MIPAKTEH_1 605 Reputation points
1 answer

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-02-22T18:17:25.01+00:00
Raymond Starkey 25 Reputation points
commented 2025-03-06T10:55:27.3266667+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
3 answers

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2024-06-07T11:18:52.7766667+00:00
FRED 10 Reputation points
commented 2025-03-05T17:03:23.87+00:00
jp McCoy 0 Reputation points
1 answer

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-02-24T17:38:17.1166667+00:00
Rakhi Pawar 0 Reputation points
edited an answer 2025-02-24T19:01:57.5933333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer One of the answers was accepted by the question author.

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
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-02-04T08:58:56.98+00:00
Brandon Shaw 20 Reputation points
commented 2025-02-07T04:03:01.87+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

'Interact with data in Blazor web apps' Training module out of order

Pages 4 & 5 are…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-01-20T00:21:46.81+00:00
Pino 20 Reputation points
edited the question 2025-01-23T03:42:17.13+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
31 questions
asked 2025-01-17T18:57:40.7166667+00:00
Ed Friesema 21 Reputation points
edited the question 2025-01-23T03:39:17.4+00:00
Pradeep M 8,185 Reputation points Microsoft External Staff