本文介绍了如何使用NHibernate,当你办理会员/角色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将揭开序幕使用NHibernate和ASP.Net MVC一个新的项目,并已临到理事国的问题。我想知道如果我要使用第三方NHibernate的会员/角色提供程序,创建自己的,或者只是跳过供应商都在一起。

I'm about to kick off a new project using NHibernate and ASP.Net MVC and have come upon the question of membership. I'm wondering if I should use a 3rd party NHibernate Membership/Role provider, create my own, or just skip the providers all together.

到目前为止,我已经看了:

Manuel阿巴迪亚的NHCustomProviders - 这似乎是一个很大的configuraton,不知道如果我希望把所有在我的web.config

- 这似乎并没有被项目业主支持了,因为他不使用NHibernate的了。

- 我喜欢的表结构,但我所有的额外CMS的有点warry东西它配备了。

*每个项目看起来并没有在一段时间,这可能意味着额外的工作才刚刚他们更新为使用NHibernate的最新版本的感动。

So far I've looked at:
Manuel Abadia's NHCustomProviders - It seems like a lot of configuraton, not sure if I want to put all that in my web.config.
Leo Vildosola's NHibernateProvider - Which doesn't appear to be supported by the project owner anymore since he doesn't use NHibernate anymore.
Eucalypto - I like the table structure, but am a bit warry of all the extra CMS stuff it comes with.
* Each of these projects looks like it hasn't been touched in a while, which could mean extra work just getting them updated to use the newest version of NHibernate.

这是一个已经解决了很多次,我想用我的时间解决新问题,并希望加入一些商业价值的问题之一。

This is one of those problems that's been solved many times and I would like to spend my time solving new problems, and hopefully adding some business value.

推荐答案

我推出我自己的。它实际上是一个更容易比大多数人都认为(我很惊讶,太) - 一旦你真正得到滚动,一切很快走到一起pretty。这是一件事花天或更长时间解决一个解决的问题,但是这花了我所有的几个小时,包括规划。

I rolled my own. It's actually a lot easier than most people think (I was surprised too) - once you actually get rolling, everything comes together pretty quickly. It's one thing to spend days or more solving a solved problem, but this took me all of a few hours including planning.

这篇关于如何使用NHibernate,当你办理会员/角色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-17 01:50