What is model validation in C#?

Model validation is the process of checking whether the user input is suitable for model binding and if not it should provide useful error messages to the user. … As important as checking for valid data is to inform the user about the wrong input and help him to enter the information in the expected form.

Read more