ASP.NET MVC and user authentication with NHibernate

I am about to launch a new application and am very pleased to use asp.net mvc and nhibernate. However, the big "problem" is how I handle user authentication material. In what ways are used those used to use nhibernate and MVC, this problem?

My thought allows asp.net to do its own thing, and I make my own database wise. I wonder if I have to play my part using the provider model and nhibernate, if I can figure out how to do it. Or is there a way to integrate the current code, which is in the mvc example, into nhibernate?

+4
source share
3 answers

You can still use ASP.NET 2.0 Membership APIs from ASP.NET MVC.

+3
source

The same question is here , and Manuel Abadia wrote here the custom NHMembershipProvider here .

+1
source

The 4 guys from rolla have a great post if you want to create your own provider on top of the asp.net membership API: http://www.4guysfromrolla.com/articles/110310-1.aspx

0
source

Source: https://habr.com/ru/post/1303856/


All Articles