Browse by Tags
All Tags »
MVC »
NHibernate (
RSS)
ASP.NET MVC 2 improves Model Validation in a number of ways, including the addition of client side validation (ala xVal). If you would like more information on Model Validation in ASP.NET MVC 2, see Scott Gu’s detailed post on this subject . ...
ASP.NET MVC2 will improve the built in Model Validation in a number of ways, including the addition of client side validation (ala xVal). If you would like more information on Model Validation in ASP.NET MVC 2, see Scott Gu’s detailed post on this subject...
In an earlier post I talked about writing a Transaction attribute for MVC using NHibernate (though it isn’t really NHibernate specific). The basic idea is that when an action marked with [Transaction] is executing (OnActionExecuting) you begin a...
Telerik recently released their Extensions for ASP.NET MVC which include several great controls, the most immediately useful of which is their Grid control. In the simple (and probably most common) cases the...
I wrote a post about a month ago about using xVal with NHibernate Validator 1.2 which solved a problem I was having upgrading the xVal ‘in-the-box’ provider to work with a newer version of NHibernate Validator . There was a caveat that my solution only...
I’ve recently switched from the Enterprise Library Validation Application Block to using NHibernate Validators. If you are not familiar with the NHibernate Validator project, they are part of the NHibernate Contrib project and offer Validation constraints...
When using ASP.NET MVC you will eventually want to do a select (drop down) or even a multiple select list, and your first though might be to use <%= Html.DropDownList %>. Unfortunately you will soon notice that ASP.NET MVC always looks for...
This will be a quick and dirty post about how to get xVal 1.0 ( http://xval.codeplex.com/ ) to work with the new NHibernate Validator 1.2beta ( http://nhforge.org/media/p/7.aspx ). The problem is that xVal 1.0 ships with a NHibernate Validator (NHVal...
This attribute will be applied to any action method within an MVC controller, or even to an entire MVC controller class. It will cause the entire action (or any action in the controller, depending on usage) to be executed inside of a transaction, properly...
More Posts