推荐城堡温莎/NHibernate堆栈? [英] Recommended Castle Windsor/NHibernate stack?

查看:59
本文介绍了推荐城堡温莎/NHibernate堆栈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个个人(学习)项目,该项目使用Castle Windsor(具有NHibernate工具)和NHibernate(以及ASP.NET MVC和Moq,以及SQL Server 2008,这些都是我想了解的更多知识).

我尝试在周末使用 NHibernate验证器,但它需要使用2.1 NHibernate 的.0Alpha2版本.

由于Castle Windsor 1.0RC3是针对较早版本的NHibernate构建的,因此一切都出错了.

我在温莎城堡(Castle Windsor)网站上查看,合并的安装程序似乎已被弃用,并且所有组件似乎都没有被打包.

那么:我应该在ASP.NET MVC软件堆栈中使用什么版本的NHibernate和各种Castle组件?

解决方案

您应该查看 S #arp体系结构.带有VS项目模板,具有快速启动和运行所需的所有二进制文件.使用ASP.NET MVC 1.0,NHibernate 2.0.1(但2.1已被记录并可以使用),Castle等.

这是一个很棒的框架.很棒的文档和非常有用的用户社区.

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?

解决方案

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.

这篇关于推荐城堡温莎/NHibernate堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆