Blog

Technical Articles

This section contains site articles covering .NET, desktop development, engineering practice, and general development topics.

First Visit

New User Starting Route

Random Exploration

Random Discovery

Random Discovery

Blazor State Management

Imagine you are filling out the longest form in the world. You have spent 30 minutes entering details, from your address to your birthday, and a list of the last seven countries you visited. You click the "Submit" button, and immediately get a "Connection Lost" message.

Blazor
Random Discovery

(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.

Blazor
Random Discovery

(14/30)Learning Blazor Together: JavaScript Interop

Although Blazor does not require JavaScript, some existing JS libraries are still very convenient. We cannot discard them all just because we don't want to use JavaScript. Blazor provides methods to call JavaScript, a scenario called JavaScript interoperability (JavaScript interop for short). This article will implement a confirmation dialog for the Delete button, because deletion is an important function and users should not easily delete with just one click.

Blazor