MongoLab.AspNet.Identity 1.0.3

dotnet add package MongoLab.AspNet.Identity --version 1.0.3
                    
NuGet\Install-Package MongoLab.AspNet.Identity -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MongoLab.AspNet.Identity" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MongoLab.AspNet.Identity" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="MongoLab.AspNet.Identity" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MongoLab.AspNet.Identity --version 1.0.3
                    
#r "nuget: MongoLab.AspNet.Identity, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=MongoLab.AspNet.Identity&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=MongoLab.AspNet.Identity&version=1.0.3
                    
Install as a Cake Tool

ASP.NET MVC 5 shipped with a new Identity system (in the Microsoft.AspNet.Identity.Core package) in order to support both local login and remote logins via OpenID/OAuth, but only ships with an Entity Framework provider (Microsoft.AspNet.Identity.EntityFramework).  This package is a fork of the original Identity provider for MongoDB written by: InspectorIT, jsheely, runxc1.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 5,245 12/17/2013

These instructions assume you know how to set up MongoDB within an MVC application.

Create a new ASP.NET MVC 5 project, choosing the Individual User Accounts authentication type.

Remove the Entity Framework packages and replace with MongoDB Identity:
 - Uninstall-Package Microsoft.AspNet.Identity.EntityFramework
 - Uninstall-Package EntityFramework
 - Install-Package MongoDB.AspNet.Identity

In ~/Models/IdentityModels.cs:
 - Remove the namespace: Microsoft.AspNet.Identity.EntityFramework
 - Add the namespace: MongoDB.AspNet.Identity
 - Remove the ApplicationDbContext class completely.

In ~/Controllers/AccountController.cs
 - Remove the namespace: Microsoft.AspNet.Identity.EntityFramework
 - For self hosted MongoDB: Use the UserStore constructor that takes a connection string.
 - For MongoLab:  Use the UserStore constructor that takes a connection string and database name.
 - The empty constructor will use the DefaultConnection named connection string in web.config