asp.net mvc - What is the cycle of server side validation -
i have model of name student
public class student { [required] public string name { get; set; } public string number { get; set; } public string email { get; set; } }
my question that, form submitted , validations checked or there mechanism post hidden form values server side validations ?
generally in web development, validation occurs both client side , server side.
you want scrub forms unwanted data or characters before submitted, , want check them / scrub them again server side ensure nothing being passed unwanted.
Comments
Post a Comment