RO EN
Introduction to Authentication in Blazor WebAssembly

Introduction to Authentication in Blazor WebAssembly

In this article, we explore the fundamentals of authentication in Blazor WebAssembly. You will learn how to implement a custom AuthenticationStateProvider, how to create a login and logout page, and how to protect routes using [Authorize]. All accompanied by complete code and easy-to-follow examples.

Citește mai mult
Interaction with external APIs (HttpClient)

Interaction with external APIs (HttpClient)

You learn to use HttpClient in Blazor WebAssembly to consume external APIs, with a concrete example and best practices.

Citește mai mult
Data Persistence with ProtectedLocalStorage

Data Persistence with ProtectedLocalStorage

In this article, we discover how we can persist local data in Blazor WebAssembly applications using ProtectedLocalStorage. A practical example will show how we can securely save user preferences (such as the chosen theme).

Citește mai mult
Communication between components in Blazor

Communication between components in Blazor

In this article, you learn how to manage communication between components in Blazor using EventCallback for sending events and [CascadingParameter] for sharing global data. Everything is illustrated through a practical example: a form that adds items to a list.

Citește mai mult
Reusable Components in Blazor

Reusable Components in Blazor

In this article, we explore how to build reusable components in Blazor, how to use [Parameter] to customize them, and how we can quickly create modular interfaces, such as a CardComponent or an AlertComponent.

Citește mai mult
Data Binding and Events in Blazor

Data Binding and Events in Blazor

In this article, we discover the mechanisms of data binding and event handling in Blazor. You will learn how to use directives such as @bind, @onchange, and @onclick, through a practical example with a form and an interactive list.

Citește mai mult
Routing and Navigation in Blazor

Routing and Navigation in Blazor

In this second part of our Blazor WebAssembly series, we explore one of the most important concepts of any web application: navigation between pages.

Citește mai mult
Introduction to Blazor WebAssembly with C#

Introduction to Blazor WebAssembly with C#

In this article, we begin the series about Blazor WebAssembly. You will learn what it is, how it works, and how you can quickly create a web application in C# that runs directly in the browser.

Citește mai mult