{"repo":"alexandre-spieser/AspNetCore.Identity.MongoDbCore","free":true,"listed":false,"github":"https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore","clone":"git clone https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore.git","description":"A MongoDb UserStore and RoleStore adapter for Microsoft.AspNetCore.Identity 2.2. Allows you to use MongoDb instead of SQL server with Microsoft.AspNetCore.Identity 2.2. (not Identity 3.0)","language":"C#","stars":297,"topics":["mongodb","identity","store","asp-net-core","aspnetcore","userstore","rolestore"],"license":"MIT","category":"databases-storage","readme_excerpt":"AspNetCore.Identity.MongoDbCore A MongoDb UserStore and RoleStore adapter for Microsoft.AspNetCore.Identity 2.0 and 3.1. Allows you to use MongoDb instead of SQL server with Microsoft.AspNetCore.Identity 2.0 and 3.1. The project's mission is to provide a simple, robust, and dependable MongoDB data store for .NET Identity, offering a clean API that fully abstracts the underlying MongoDB driver. Covered by 737 integration tests and unit tests from the modified Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test test suite. Supports both netstandard2.1 and netcoreapp3.1 . Available as a Nuget package : https://www.nuget.org/packages/AspNetCore.Identity.MongoDbCore/ Install-Package AspNetCore.Identity.MongoDbCore Support This Project If you have found this project helpful, either as a library that you use or as a learning tool, please consider buying Alex a coffee: User and Role Entities Your user and role entities must inherit from MongoIdentityUser and MongoIdentityRole in a way similar to the IdentityUser and the IdentityRole in Microsoft.AspNetCore.Identity , where TKey is the type of the primary key of your document. Here is an example: Id Fields The Id field is automatically set at instantiation, this also applies to users inheriting from MongoIdentityUser , where a random integer is assigned to the Id . It is however not advised to rely on such random mechanism to set the primary key of your document. Using documents inheriting from MongoIdentityRole and MongoIdentityUs","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexandre-spieser","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexandre-spieser/AspNetCore.Identity.MongoDbCore/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}