nHibernate + Mvc3 Sample Application

后端 未结 2 2139
囚心锁ツ
囚心锁ツ 2021-02-15 14:31

I\'m looking for a decent codebase that demonstrates how to use nHibernate as the persistance layer in an asp.net mvc3 project.

The two key pieces of understanding that

相关标签:
2条回答
  • 2021-02-15 15:13

    Take a look at https://bitbucket.org/FunnelWeb/dev

    FunnelWeb is a blog engine based on ASP.NET MVC and NHibernate. It is opensource and used by many bloggers/develoeprs

    0 讨论(0)
  • 2021-02-15 15:36

    I put together a project that offers an example of how to do this using nhibernate and asp.net mvc 2. The repository and nhibernate implementations will be almost the same. Probably the biggest change will be the ioc / dependency injection piece. Take a look. It should provide a solid starting point. Here is the URL.

    http://gpsnerd.codeplex.com

    Let me know if you have questions.

    Bob

    0 讨论(0)
提交回复
热议问题