Category Archives: ASP.NET MVC

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, [...]

Paging with ASP.NET MVC 4

Updated 2009-02-04: Upgraded source and demo to ASP.NET MVC RC1 Updated 2009-01-16: Upgraded source and demo to ASP.NET MVC Beta Updated 2008-09-09: Source and Demo now use ASP.NET MVC preview 5 On my latest gig, we used ASP.NET MVC and it was a very pleasant experience! Very clean code, clean html output and the productivity [...]