MongoProviders icon indicating copy to clipboard operation
MongoProviders copied to clipboard

ASP.NET Membership and Role Providers for MongoDB

MongoProviders

ASP.NET Membership and Role Providers for MongoDB

Motivation:

This project was originally part of the MongoWSAT project but was split out so that users of MongoWSAT don't have to include the MongoProvider and MongoProvider.UnitTests projects in their solutions. This also prevents issues regarding the licensing (see below).

MongoWSAT https://github.com/alanning/MongoWSAT

Running Unit Tests:

Install the Visual NUnit plugin for VS2010 to run the unit tests. http://visualstudiogallery.msdn.microsoft.com/c8164c71-0836-4471-80ce-633383031099

License:

MongoProviders - MIT

MongoProviders.UnitTests - GPL

Why GPL? - The MongoProviders.UnitTests project is GPL because it is a port of the Unit Tests from the MySQL Connector project which is GPL. The reason the rest of this project can remain non-GPL'd is due to the FOSS exception as described here: http://www.mysql.com/about/legal/licensing/foss-exception/

Dependencies:

All dependencies are included but you may wish to refresh with NuGet to get the latest versions. MongoDB CSharp Driver - http://www.mongodb.org/display/DOCS/CSharp+Language+Center FluentMongo - https://github.com/craiggwilson/fluent-mongo NUnit (for MongoProvider Unit Tests) - NuGet

References:

Many projects were referenced when making this but here are some of the most relevant:

SQL Membership, Role, Profile Provider Source Code
http://download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi

SQLite Membership, Role, Profile Providers
http://www.codeproject.com/KB/aspnet/SQLite-Providers.aspx

Sample Custom MembershipProvider (MSDN)
http://msdn.microsoft.com/en-us/library/6tc47t75.aspx

MongoMember (V Slavin)
https://github.com/nakedslavin/MongoDB-Membership-Provider--ASP.NET-/

Mongodb Membership Provider (Teun Duynstee)
http://code.google.com/p/aspnetmongoproviders/

Custom Membership Provider OnValidatingPassword question
http://forums.asp.net/t/991002.aspx/1

MySQL Connector (for Unit Tests)
http://dev.mysql.com/downloads/connector/net/

Thanks:

Special thanks to Craig Wilson for his FluentMongo Linq provider. https://github.com/craiggwilson/fluent-mongo