Yes, this is possible. In order to do that you need to:
1. Implement custom membership provider. As WebMatrix.WebData.WebSecurity
use an instance of ExtendedMembershipProvider
class your custom provider need to derive from this class and implement its abstract methods (or a subset of methods that is required for your scenario). This is where you could use Telerik Data Access
to access the database to manage the users related tables.
2. Plug the your provider in your MVC
project. This is done through adding configurations in the web.config
Please refer to this blog post
which demonstrates the approach. Please note
in demonstrated scenario the custom membership provider actually derives from the MembershipProvider
class (step 3
). In your case please use the ExtendedMembershipProvider
. This also means that you should skip step 9
Also I think you may find interesting this blog post
which described in greater detail the membership mechanism used in the MVC4 projects.
Unfortunately, we do not have a sample that shows how to implement custom membership provider using Telerik Data Access
. If you are interested in such sample and documentation, please post a documentation request in our Ideas & Feedback portal
. Voting for it would help us prioritize it.
I hope this is helpful. Let us know if you have any further questions.
OpenAccess ORM is now Telerik Data Access
. For more information on the new names, please, check out the Telerik Product Map