What system of authentication and authorization in asp.net mvc 4 select?

There is an existing project, you must do authorization and authentication. The preferences ASPNET IDENTITY, but it must be used without EF , as I do not like his base model and the fact that the EF in the view layer their context.

Advise how to bypass the approach with EF Aspnet Identity, as there is a lot of necessary and suitable there and maybe in the future I want to use the functionality.
July 12th 19 at 16:40
1 answer
July 12th 19 at 16:42
In principle, there is nothing complicated to use Identity without EF.

I, for example, instead EF being developed in the project using Dapper from Stackoverflow. It's not a big ORM, hence the performance times of 10-12. And if to it to add more plugins (SimpleCRUD etc.), it is possible to get rid of self-written queries.

On the topic, here is a good article-tutorial to get rid of EF in Identity
I saw this article, thank you. Pulled identity in a separate project and have cut everywhere identity entity framework. I was just wondering whether there is something universal in addition to the identity. It was fashionable to use his c onion architecture without unnecessary libraries and heap classes. - Heaven.Wa commented on July 12th 19 at 16:45
: analogues of Identity is not met, but I do not see special problems in the organization of the onion architecture. Of the minuses only extra libraries and classes, but I wouldn't bother - Dashawn commented on July 12th 19 at 16:48

Find more questions by tags ASP.NETUser identification