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

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

问题描述

我在哪里可以找到一个很好的NHibernate和ASP.NET MVC参考应用程序?我下载小号#arp和这似乎是很多比我更需要(国际奥委会和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的会议如何处理在ASP.NET MVC的作品。也许如何一些简单的查询场景工作。仍在试图掌握如何<一个href=\"http://stackoverflow.com/questions/558974/nhibernate-select-distinct-equivalent-for-a-page-filter-northwind\">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.

在比利·麦卡弗蒂写犀利的架构,他写道,我认为是一个必须阅读 $ C $的CProject 与NHibernate的最佳做法。另外,我刚刚发现的MVC标签下的一些 DimeCasts (由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.

罗布科纳创建ASP.NET的 MVC店面视频,他越过了很多的模式和实践系列。写入的后端使用LINQ to SQL,但可以使用 LinQ在适应NHibernate的。最近,他还做了 TekPub 视频系列 - 的 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

借助小号#拱源本身现在配备了一个样本项目,以及。

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

最后, code阵营服务器 这是建立与MVC.Net和NHibernate和使用pretty每很多开源工具,你能想到的...

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文件,你可能也想看看<一个href=\"http://nhforge.org/blogs/nhibernate/archive/2008/09/02/a-fluent-interface-to-nhibernate-part-1.aspx\">fluent.

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天全站免登陆