This step of the tutorial demonstrates how you can integrate your custom membership provider to support the user interface of Sitefinity CMS. The example in this repository is a fully functional implementation of the standard SqlMembershipProvider with support for filtering, paging, search, and sorting.
If you have a small number of users, you can register your custom membership provider in the web.config file. If you have large number of users (~ 10 000 or above), this type of implementation will cause an overhead. The reason is that the MembershipProvider class provides only a single method for filtering users - the GetAllUsers(int pageIndex, int pageSize, out int totalRecords) method. This method uses only paginated data with no support for filtering, searching, or sorting. You can configure custom membership providers to support such functionality by using the IBasicQueryExecutor interface. This way, you benefit from:
You can download a fully functional example of a custom membership provider that is optimized to use Sitefinity CMS UI from Sitefinity CMS GitHub custom-membership-provider.
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.