Setting up a web application from scratch

40 views
Skip to first unread message

Marcello Esposito

unread,
Aug 28, 2012, 7:21:29 AM8/28/12
to nhu...@googlegroups.com
Hi all.

I'm setting up an application build with the following components:

Ninject 3.0
NHibernate 3.3
ASP.NET MVC3
FluentValidation 3.3

I'm approaching to the infrastructure setup by adapting the following three items from NHibernate 3.0 Cookbook:
  • Setting up session per web request
  • Creating a session ASP.NET MVC action filter
  • Creating a transaction ASP.NET MVC action filter
and merging some other resources about Ninject found on the web.

- Is this a valid approach?
- Can someone point me to some resources addressing this problem? 
- What about NHibernate-FluentValidation integration (so to prevent saving invalid entities)?

Thanks in advance,
Marcello.
Reply all
Reply to author
Forward
0 new messages