Thursday, May 3, 2007

NHibernate Best Practices with ASP.NET, 1.2nd Edition

The NHibernate Best Practices with ASP.NET article has been updated

Article Contents

Introduction
Why Use an ORM?
Goals and Overview of Article
Running the Sample Applications
NHibernate Integration Basics

Architectural Notes
The Basic Sample Application
BasicSample.Tests with NUnit, NUnitAsp, Rhino Mocks and Fit
BasicSample.Core for Defining the Domain Layer
BasicSample.Data for Implementing NHibernate Communications
BasicSample.Web for Tying it all Together
Extending the Basics to an "Enterprise" Solution
Real-World Architecture
Beyond the Basics
Where to go from here?
Migrating from NHibernate 1.0x to 1.2
Summary of NHibernate/ASP.NET Best Practices



In addition to an overhaul of the original sample code, an expanded "enterprise" sample has been included demonstrating:
NHibernate with web services
NHibernate with multiple databases
Integration with Castle Windsor
A reusable data layer for the data access components.
A simple example of Model-View-Presenter

Read the article and download the sample code here: http://www.codeproject.com/aspnet/NHibernateBestPractices.asp

No comments: