This is implementation of simple membership provider for mongodb.
Happy to announce that i am implementing permissions system that is integrated with current Membership Provider. You can already download from nuget.
- Add ability to work thorugh AppHarbor
- Fixed LastLogin and LastPasswordFailure bugs
- Refactored and removed redantant code
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
-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
- 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
<add key="enableSimpleMembership" value="false" />
<add name="MongoMembershipProvider" type="ExtendedMongoMembership.MongoMembershipProvider, ExtendedMongoMembership" connectionStringName="mongodb"/>
<roleManager enabled="true" defaultProvider="MongoRoleProvider">
<add name="MongoRoleProvider" type="ExtendedMongoMembership.MongoRoleProvider, ExtendedMongoMembership" connectionStringName="mongodb" />
Software devlopment services for you: http://www.choose4use.com