I work in a small development team, and there is no consensus on the best approach to a number of key tasks, one of which is membership providers. Now I canโt be sure that this is due to the lack of contact with alternative ways of thinking or with projects of sufficient scale to guarantee a significant investigation.
I have been a .net network developer for several years (and before that php and asp classic), and as a rule, when developing applications, I shy away from using the built-in .net SqlMembershipProvider primarily because it often seems to be much more complicated for my needs , and secondly, because I can only imagine that such a complex data model is likely to lead to a performance hit.
I usually use my own membership and role provider, working on a fairly simple scheme like user -> user roles <- roles . I support the standard membership provider features such as account recovery, profile information, failed account lockout, security questions, etc. Depending on the needs of a related application, for example, a secure AD application, it has several additional functions, a shopping center. It also means that any tasks that arise that require stored processes to process user data are easily recorded and performed very well. Direct SQL commands, good indexing and a simple data model leading to a high-performance, scalable solution that needs to change. I have full control for change as necessary, which I find invaluable.
Based on your experience, would you say this is an outdated approach? Have you ever had scalability issues with your built-in provider? What approach do you usually use and in which scenarios?
thanks
source share