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
  • Simple auditing using an NHibernate IInterceptor (Part 4)

    This is the fourth and final post of a multi-part post series on writing simple auditing functionality for an ASP.NET application using NHibernate.  The requirement was that every object modification event in the system should be logged by username and date.  Specifically I don’t need to know...
    Posted to Scott's Blog (Weblog) by srkirkland on 09-15-2009, 12:00 AM
    Filed under: Code, ASP.NET, NHibernate, ASP.NET 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
  • My Social Media Adventure

    Here at Trimedia Atlantic, we've started a new project that I am very excited about, though I cannot yet talk about what that project is, I will talk about my experiences in developing it as we are using a great deal of cutting edge technology, such as a great deal of the NHibernate suite of technologies...
    Posted to A Recipe for New Media (Weblog) by ccm682 on 09-07-2009, 12:00 AM
    Filed under: ASP.NET MVC, NHibernate, StructureMap, DataAnnotations, AutoMapper
  • 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
  • Fluent NHibernate with System.ComponentModel.DataAnnotations

    So I’m building a product with NHibernate and possibly another ORM. The main focus of the app is a ASP.NET MVC 2.0 web application . So I, obviously, want the built in validation client-side in JavaScript and server side. By default, the MVC stuff uses the System.ComponentModel.DataAnnotations attributes...
    Posted to Zack Owens (Weblog) by zowens on 10-23-2009, 12:00 AM
    Filed under: Fluent NHibernate, .NET, ASP.NET, ASP.NET MVC, NHibernate
  • 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
Page 1 of 2 (15 items) 1 2 Next >