Skip to content

358 - Validazione asincrona in .NET 11: era ora?

August 24, 2026 · 14 min

Show notes

La validazione non è sempre sincrona. Controllare che un campo sia obbligatorio o che una stringa abbia una certa lunghezza è semplice, ma cosa succede quando per validare un dato dobbiamo interrogare un database o chiamare un servizio esterno?
Con .NET 11 arriva finalmente il supporto alla validazione asincrona. In questa puntata vediamo cosa cambia, come si integra con ASP.NET Core e Blazor e soprattutto in quali casi può essere realmente utile.
Perché poter fare una validazione asincrona non significa che dobbiamo trasformare ogni regola di business in un validator.

#dotnet #dotnet11 #aspnetcore #blazor #validation #asyncvalidation #minimalapi #csharp #webdevelopment #softwaredevelopment #developers #backend #programming #dotnetdeveloper #dotnetinpillole

All episodes of .NET in pillole

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.