Tag Archives: Validation

Validation in ASP.NET MVC – part 4: example with server-side and client-side validation 3

This is part 4 of a series of posts. See also: Validation in ASP.NET MVC – part 1: basic server-side validation Validation in ASP.NET MVC – part 2: custom server-side validation Validation in ASP.NET MVC – part 3: client-side validation with jQuery validation In the previous posts, I described how we implemented model-based validation on [...]

Validation in ASP.NET MVC – part 3: client-side validation with jquery validation 4

This is part 3 of a series of posts. See also: Validation in ASP.NET MVC – part 1: basic server-side validation Validation in ASP.NET MVC – part 2: custom server-side validation In the first two parts, I showed how you can perform validation on the server side with Castle Validation attributes and extend that model [...]

Validation in ASP.NET MVC – part 2: custom server-side validation Comments Off

This is a post in a series of posts. See also: Validation in ASP.NET MVC – part 1: basic server-side validation In the first post of this series, I showed how you can perform basic server-side validation on your model with help of the Castle Validator component. To summarize this post: the controller validates an [...]

Validation in ASP.NET MVC – part 1: basic server-side validation 3

Almost every single application has to deal with validating user input. With web applications, you can choose to do the validation on the client side or on the server side. In my opinion, validation should at least take place on the server side and optionally on the client side to improve the user experience. Therefore, [...]