12

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.

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.

tereško
  • 58,060
  • 25
  • 98
  • 150
RKitson
  • 2,003
  • 1
  • 18
  • 21
  • Manuel's seems to be the most popular one.. Which one did u use finally? – Quintin Par Feb 04 '10 at 12:59
  • 1
    Ended up rolling my own. Wasn't very difficult at all. More recently, I've been using http://www.dotnetopenauth.net/ and it's been great. – RKitson Feb 04 '10 at 18:53

1 Answers1

0

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.

Rex M
  • 142,167
  • 33
  • 283
  • 313
  • 1
    Would you be interested (or able) to share details of your implementation? – Todd Brooks Feb 04 '09 at 22:00
  • What aspect are you interested in? The c# code, the database schema ...? – Rex M Feb 04 '09 at 23:20
  • The C# aspect, how you actually use it in Views, etc – Todd Brooks Feb 05 '09 at 04:08
  • Todd - the idea of a membership provider is that when you use it in your application, it's always the same no matter which provider you use. You can find out how to use any membership provider in your Views by reading up on membership providers in general. – Rex M Feb 08 '09 at 01:50