Answer the question
In order to leave comments, you need to log in
What system of authentication and authorization in asp.net mvc 4 to choose?
There is an existing project, it is necessary to make authorization and authentication. From the preferences of ASPNET IDENTITY, but it must be used without EF , since I am not satisfied with its base model and the fact that EF has its own context in the presentation layer.
Advise how you can get around the approach with EF in Aspnet Identity, since there are a lot of useful and useful things there and maybe in the future I will want to use the functionality.
Answer the question
In order to leave comments, you need to log in
Basically, there is nothing difficult in using Identity without EF.
For example, instead of EF in the project I am currently developing, I use Dapper from Stackoverflow . This is not a big ORM, hence the performance gain of 10-12 times. And if you add plugins to it (SimpleCRUD, etc.), then you can get rid of writing queries yourself.
On the subject, here is a good tutorial article on getting rid of EF in Identity
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question