Reputation: 3630
I am about to start a new application and am excited about using asp.net mvc and nhibernate. However, the big "problem" is how I handle the user authentication stuff. What are some ways those used to using nhibernate and MVC solve this problem?
My thought is let asp.net do its own thing and I do my own thing database wise. Am curios if I should role my own using the provider model and nhibernate, if I can figure out how. Or is there a way to integrate current code that is in the mvc example into nhibernate?
Upvotes: 4
Views: 2468
Reputation: 6901
4 guys from rolla have an excellent post if you want to buil your own provider on top of the asp.net membership API : https://web.archive.org/web/20211020114106/https://www.4guysfromrolla.com/articles/110310-1.aspx
Upvotes: 0
Reputation: 4433
Same question here and Manuel Abadia has written a custom NHMembershipProvider here.
Upvotes: 1
Reputation: 17445
You can still use the ASP .NET 2.0 Membership APIs from ASP .NET MVC.
Upvotes: 3