A
A
Alexey Alex2014-09-28 15:05:50
ASP.NET
Alexey Alex, 2014-09-28 15:05:50

How to override membership provider in ASP.NET MVC 4 in ClassLibrary?

Hello. I use the "Repository" pattern in the application. I create a separate class library, describe methods through interfaces. Decided to override the membership provider. I add a reference to System.Web to the library through References, create a class in it, connect System.Web.Security, and try to inherit from the abstract MembershipProvider class ... it only writes that such a class does not exist, like many others, for example, MembershipUser ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
asdz, 2014-09-28
@asdz

Maybe try recompiling?

M
Max Maximov, 2014-09-29
@maximka19

If you're referring to the standard ASP.NET Identity, then this article might be what you're looking for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question