Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • ASP.NET MVC Transaction Attribute (using NHibernate)

    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 committing the transaction on successful method...
    Posted to Scott's Blog (Weblog) by srkirkland on 09-03-2009, 12:00 AM
    Filed under: Code, ASP.NET, NHibernate, ASP.NET MVC, MVC
  • Using xVal with NHibernate Validator 1.2

    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) Ruleset Provider which does not compile against the...
    Posted to Scott's Blog (Weblog) by srkirkland on 09-29-2009, 12:00 AM
    Filed under: Code, ASP.NET, Validation, NHibernate, ASP.NET MVC, MVC
  • MVCContrib FluentHTML Select Lists and NHibernate

    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 a match between the name of the dropdown and a property...
    Posted to Scott's Blog (Weblog) by srkirkland on 10-08-2009, 12:00 AM
    Filed under: Code, ASP.NET, NHibernate, ASP.NET MVC, MVC
  • Required Validator For NHibernate Validators

    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, and validation runner, and tight integration...
    Posted to Scott's Blog (Weblog) by srkirkland on 10-15-2009, 12:00 AM
    Filed under: Code, ASP.NET, Validation, NHibernate, ASP.NET MVC, MVC, xVal
  • Inserting Transactions into Telerik’s ASP.NET MVC Grid

            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 grid works by passing taking an enumerable list of...
    Posted to Scott's Blog (Weblog) by srkirkland on 11-10-2009, 12:00 AM
    Filed under: Code, Tips, ASP.NET, NHibernate, ASP.NET MVC, MVC, Telerik
  • Making ASP.NET MVC Actions be Transactional By Default

    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 transaction, and some time later (I use OnActionExecuted...
    Posted to Scott's Blog (Weblog) by srkirkland on 11-16-2009, 12:00 AM
    Filed under: Code, Tips, ASP.NET, NHibernate, ASP.NET MVC, MVC
  • An xVal Provider For NHibernate Validator

    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 worked for ValidatorMode.UseAttribute and I wouldn...
    Posted to Scott's Blog (Weblog) by srkirkland on 11-02-2009, 12:00 AM
    Filed under: Code, ASP.NET, Validation, NHibernate, ASP.NET MVC, MVC, jQuery
  • NHibernate Validator ASP.NET MVC 2 Model Validation

    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 . Out of the box ASP.NET MVC 2 will include support...
    Posted to Scott's Blog (Weblog) by srkirkland on 03-02-2010, 12:00 AM
    Filed under: Code, ASP.NET, Validation, NHibernate, ASP.NET MVC, MVC
  • NHibernate Client Validator ASP.NET MVC 2 Model Validation

    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 .  Out of the box ASP.NET MVC 2 includes support for...
    Posted to Scott's Blog (Weblog) by srkirkland on 07-20-2010, 12:00 AM
    Filed under: Code, ASP.NET, Validation, NHibernate, ASP.NET MVC, MVC
Page 1 of 1 (9 items)