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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -