Project Description
This is implementation of simple membership provider for mongodb.

Announcing
Happy to announce that i am implementing permissions system that is integrated with current Membership Provider. You can already download from nuget.

1.0
- Add ability to work thorugh AppHarbor
- Fixed LastLogin and LastPasswordFailure bugs
- Refactored and removed redantant code

0.9 Critical bug fixes
- Generate password token
- AddUsersToRoles can add the same role dozen times. Was fixed
- RemiveUsersFromRoles did not work at all. Fixed.
- Little refactor


0.8
-Get rid of extra user profile table. Now all data is persisted in Users collection
-Checked all scenarios for standard mvc template
-Added membership service for managing user profiles

0.5
- Ported New SimpleMembership to MongoDB


You can install provider using command Install-Package ExtMongoMembership or entering ExtMongoMembership in search

Remove datacontext and "InitializeSimpleMembershipAttribute.cs" as current membership dont require them (From Standard template mvc4 project)

To use this provider you need to put such changes to web.config
<appSettings>
    ...
    <add key="enableSimpleMembership" value="false" />
    ...
</appSettings>
and
<system.web>
    <membership defaultProvider="MongoMembershipProvider">
      <providers>
        <clear />
        <add name="MongoMembershipProvider" type="ExtendedMongoMembership.MongoMembershipProvider, ExtendedMongoMembership" connectionStringName="mongodb"/>
      </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="MongoRoleProvider">
      <providers>
        <clear />
        <add name="MongoRoleProvider" type="ExtendedMongoMembership.MongoRoleProvider, ExtendedMongoMembership" connectionStringName="mongodb" />
      </providers>
    </roleManager>
    ...
</system.web>
That's it!

Software devlopment services for you: http://www.choose4use.com

Last edited Jul 26, 2013 at 5:30 PM by F0rc0sigan, version 17