Refining your ASP.NET data annotations
Channel: Medhat Elmasry
Date: 2022-10-31

In this tutorial, we will learn some of the most important data annotations that are used when modeling a simple class in ASP.NET. Some of these annotations pertain to validations, others pertain to database related schemas and constraints, and yet others pertain to data formatting. Although all these concepts work for both ASP.NET MVC and Razor Pages, we will be using Razor Pages. The demos work in Windows, iOS or Linux. 

Source Code: https://github.com/medhatelmasry/AnnotationsDemo.git
Companion Article: https://blog.medhat.ca/2023/01/refining-your-aspnet-data-annotations.html