Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommended Castle Windsor/NHibernate stack?

I've got a personal (learning) project that uses Castle Windsor (with the NHibernate facility) and NHibernate (and ASP.NET MVC and Moq, and SQL Server 2008, all stuff that I want to learn more about).

I attempted to use NHibernate Validator over the weekend, but it needed the 2.1.0Alpha2 build of NHibernate.

Since Castle Windsor 1.0RC3 is built against an older version of NHibernate, it all went wrong.

I look on the Castle Windsor site, and the combined installer appears to be deprecated, and none of the components look to have been packaged in a while.

So: what versions of NHibernate and the various Castle components should I be using in my ASP.NET MVC software stack?

like image 730
Roger Lipscombe Avatar asked Jan 26 '26 21:01

Roger Lipscombe


2 Answers

You should check out S#arp Architecture. Comes with a VS project template, has all the binaries you will need to get up and running very quickly. Uses ASP.NET MVC 1.0, NHibernate 2.0.1 (but 2.1 has been documented and will work), Castle, etc.

It's a great framework. Awesome documentation and a very helpful user community.

like image 198
Todd Brooks Avatar answered Jan 29 '26 12:01

Todd Brooks


So far the best options is unfortunately to check out the trunk of Castle, compile and use it that way.

This will be 'fixed' when Castle Windsor gets released (soon ;) ).

like image 40
Krzysztof Kozmic Avatar answered Jan 29 '26 12:01

Krzysztof Kozmic