Topic

Learn Blazor Series

A Blazor learning series from fundamentals to hands-on practice

31 articles
1 Current page
Blazor Series Ending!

Blazor Series Ending!

The Blazor series reprint has ended. In fact, the site owner finished reprinting on the 25th, synchronized it on the Dotnet9 website (https://dotnet9.com), and created an album "Learning Blazor Together Series", which everyone can browse at any time on the website.

沙漠尽头的狼 12/30/2021 10:46 PM
(29/30)Learn Blazor Together: Blazor Unit Testing

(29/30)Learn Blazor Together: Blazor Unit Testing

The most boring part of developing a system is probably fixing bugs, especially errors like trying to access a null object (`Object reference not set to an instance of an object.`), which is the most common problem most people encounter when they first step into programming. To break free from the tedious bug-fixing process, this article introduces `unit testing`.

StrayaWorker 12/25/2021 8:39 PM
(28/30) Learning Blazor Together: Policy-based Authorization

(28/30) Learning Blazor Together: Policy-based Authorization

It was mentioned earlier that `ASP.NET Core Identity` uses `Claim`-based authentication. In fact, `ASP.NET Core Identity` has different types of authorization methods, the simplest being `Login Authorization`, `Role Authorization`, and `Claim Authorization`. However, all of the above are implemented in one way: Policy-based Authorization.

StrayaWorker 12/25/2021 5:51 PM
(24/30) Let's Learn Blazor Together: Using <AuthorizeRouteView>

(24/30) Let's Learn Blazor Together: Using <AuthorizeRouteView>

The day before yesterday, we added content in `Blog.razor` to display both authorized and unauthorized views. However, if the unauthorized content to be displayed is the same across the system, writing it in every component would be a waste of time. We can use `App.razor` to handle unified presentation.

StrayaWorker 12/23/2021 10:51 PM