Projects
EFHooks Project
EFHooks is an open source framework to simplify the task of hooking into Entity Framework’s pre and post-action extension points.
EFHooks is available from NuGet inside VS2010. The source code is available on GitHub.
NHibernate 3 – ASP.NET MVC2 Music Store
![]()
To learn more about ASP.NET MVC2 and NHibernate 3, I’ve built up the ASP.NET MVC Music Store sample app using NHibernate 3. I covered some good ground from NHibernate 3’s Loquacious configuration API to some XML tweaks and using an IoC container (Ninject) to manage dependencies.
Parts 1 – 6 are up, I still have some work to do before it’s truly finished:
Part 1 – Removing EF4 and Replacing the ObjectContext:
http://www.mcdev.za.net/2010/08/the-nh3-music-store-part-1/
Part 2 – Building up the entities in POCOs
http://www.mcdev.za.net/2010/08/the-nh3-music-store-part-2/
Part 3 – NH3 Specific Querying – Explicit Transaction Handling
http://www.mcdev.za.net/2010/08/the-nh3-music-store-part-3/
Part 4 – Session Per Request
http://www.mcdev.za.net/2010/08/the-nh3-music-store-part-4-session-per-request/
Part 5 – IoC with Ninject
http://www.mcdev.za.net/2010/08/the-nh3-music-store-part-5-ioc-with-ninject/
Part 6 – Mappings and the first glimpse!
http://www.mcdev.za.net/2010/08/the-nh3-music-store-part-6-mappings-and-the-first-glimpse/


