我在哪里可以找到一个好的 NHibernate 和 ASP.NET MVC 参考应用程序 [英] Where can I find a good NHibernate and ASP.NET MVC Reference Application

查看:15
本文介绍了我在哪里可以找到一个好的 NHibernate 和 ASP.NET MVC 参考应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到好的 NHibernate 和 ASP.NET MVC 参考应用程序?我下载了 S#arp,这似乎比我需要的要多得多(IOC 和 CodeGen 通过 T4).稍后我可能会努力达到这个目的,但一开始我需要更小的东西.

Where can I find a good NHibernate and ASP.NET MVC Reference Application? I downloaded S#arp and this seemed to be a lot more than I needed (IOC and CodeGen via T4). I might work my way up to this later, but I need something smaller at first.

有什么简单的例子吗?我只想了解 NHibernate Session 处理在 ASP.NET MVC 中是如何工作的.也许一些简单的查询场景是如何工作的.仍在尝试了解 SELECT DISTINCT 会如何在 NHibernate 中完成并通过 ViewData 传递到视图.

Any simple examples? I just want to pick up how NHibernate Session handling works in ASP.NET MVC. And maybe how some simple query scenarios work. Still trying to grasp how a SELECT DISTINCT would be done in NHibernate and through to the View via the ViewData.

推荐答案

我会尝试独立解决它们.

I would try to tackle them independently.

在 Billy McCafferty 写他写的尖锐架构之前,我认为必须阅读 codeproject 关于 NHibernate 的最佳实践.另外,我刚刚在 MVC 标签下发现了一些 DimeCasts(by Kyle Baley),它们非常好.

Before Billy McCafferty wrote sharp-architecture he wrote, what I think is, a must read on codeproject about best practices with NHibernate. Also, I have just discovered some DimeCasts(by Kyle Baley) under the MVC tag that are very good.

Rob Conery 创建了 ASP.NET MVC Storefront 视频系列,他介绍了许多模式和实践.编写的后端使用 Linq to SQL,但可以使用 LinQ 到 NHibernate.最近,他还制作了一个关于 TekPub 的视频系列 - NHibernate with Ayende Rahien.最后(对于 NHibernate)有 NHibernate 之夏

Rob Conery created the ASP.NET MVC Storefront video series which he goes over a lot of patterns and practices. The backend written is using Linq to SQL but can be adapted with LinQ to NHibernate. More recently he has also done a video series on TekPub - NHibernate with Ayende Rahien. Lastly (for NHibernate) there is the Summer of NHibernate

S# 架构源 本身现在也带有示例项目.

The S# arch source itself now comes with a sample projects as well.

最后,构建了 Code Camp Server使用 MVC.Net 和 NHibernate 并使用几乎所有你能想到的开源工具......

Finally, there is Code Camp Server that is built with MVC.Net and NHibernate and uses pretty much every open source tool you can think of...

旁注

如果您有兴趣在使用 NHibernate 时摆脱那些烦人的 XML 文件,您可能还想查看 流畅.

If your interested in getting rid of those annoying XML files when using NHibernate you might also want to look at fluent.

这篇关于我在哪里可以找到一个好的 NHibernate 和 ASP.NET MVC 参考应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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