Project DescriptionProject to accompany the NHibernate with ASP.net Problem-Design-Solution Wrox Blox by Scott Millett, demonstrating how to use NHibernate within a web context (ASP.net) whilst applying enterprise design patterns and following a Domain Driven Design methodology.
If you like this project please check out my new C# project based around the domain of mortgage loan prequalifications. Its a similar project set up but with an added WCF service layer which introduces messaging patterns. The project is used as a sample application for my book Wrox Professional Enterprise .NET.
buy book |
get free chapter |
go to project home pageThe sample project is a very simple web based order processing application. Customers and Products can be added/updated/removed and orders can be made. Once an order is made it can be processed. During the workflow of an order being processed the stock is updated. As I said its very simple but its complete and will show you how NHibernate can help in getting rid of the tedious task of writing infrastructure code to support the persistence and retrieval of your business entities.
The screen below shows the product management page, from this page you can add, modify and remove products. There are similar pages for the management of orders and customers.

The PDF that accompanies release 1 of this project can be found here:
Wrox Blox - NHibernate with ASP.net Problem-Design-Solution.
The Solution Layout:
Release 2: Added MVC web project to the solution
Methodologies & Technologies used:
Please let me know if you have any comments on the code or would like me to add any new features via the discussions tab
http://nhibernateasp.codeplex.com/Thread/List.aspx.
I hope you find this useful.
Scott
blogweb site