title: How the data annotation attribute validation is differ from client side validation in MVC?
body: <p>In the View Model, we are mentioning about  "<code>System.ComponentModel.DataAnnotations</code>" and for the field names .. we are mentioning the validation such as ..</p>
  
  <pre><code>[Required(ErrorMessage="Please enter name")]
  </code></pre>
  
  <p>This is further called from <code>@Html.ValidationMessageFor</code></p>
  
  <p>My clarification is , When we can achieve the same from client side validation, what is the need for DataAnnotations (or) How would be the DataAnnotations differ or add more value on having it on the server side code?</p>