Server Side Validation in ASP.NET MVC using Data Annotation

Whenever a form is submitted you should ensure to do the Server Side Validation of every control so that the received data is correct and valid.
 
Some developers provide only client side validation and leave the server side validation in their projects. This is a wrong practice as users can disable JavaScript on their browser and bypass the Client Side Validation. Therefore always make sure to do Server Side Validation in your project.
 
Continue here>>