Top
image credit: Unsplash

How to use data annotations in C#

May 18, 2020

Via: InfoWorld

Data annotations (available as part of the System. ComponentModel. DataAnnotations namespace) are attributes that can be applied to classes or class members to specify the relationship between classes, describe how the data is to be displayed in the UI, and specify validation rules. This article talks about data annotations, why they are useful, and how to use them in our .NET Core applications.

Read More on InfoWorld