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 object that [...]
Categories: ASP.NET MVC, Cuyahoga
Tagged: ASP.NET MVC, Validation
- Published:
- November 27, 2008 – 1:56 pm
- Author:
- By martijn
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, [...]
Categories: ASP.NET MVC, Cuyahoga
Tagged: ASP.NET MVC, Validation
- Published:
- November 26, 2008 – 12:41 pm
- Author:
- By martijn
Last week, I started to do some serious Cuyahoga development again and I’m going to try a new development methodology: blog-driven-development. A few days of development brought up so many interesting things, so I decided that I might as well write about them (in fact, I already started it because this post was also triggered [...]
Categories: Cuyahoga, General
Tagged: ASP.NET MVC, Cuyahoga
- Published:
- November 24, 2008 – 3:10 pm
- Author:
- By martijn
Recently, I ran into an issue with NHibernate Criteria queries. The scenario is the following:
User has a many-many association with Role and Role has a many-many association with Site. I simply wanted all users that belong to a given site (and a whole slew of other optional parameters, therefore the Criteria query).
With hql this is [...]
Categories: O/R mapping
Tagged: NHibernate
- Published:
- November 20, 2008 – 11:31 am
- Author:
- By martijn