RavenDB.Identity 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package RavenDB.Identity --version 3.0.0
NuGet\Install-Package RavenDB.Identity -Version 3.0.0
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="RavenDB.Identity" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RavenDB.Identity --version 3.0.0
#r "nuget: RavenDB.Identity, 3.0.0"
#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.
// Install RavenDB.Identity as a Cake Addin
#addin nuget:?package=RavenDB.Identity&version=3.0.0

// Install RavenDB.Identity as a Cake Tool
#tool nuget:?package=RavenDB.Identity&version=3.0.0

RavenDB logo RavenDB.Identity

RavenDB identity provider for ASP.NET Core.

The simple and easy Identity provider for RavenDB and ASP.NET Core. Use Raven to store your users and logins.

Instructions

  1. In Startup.cs:
public void ConfigureServices(IServiceCollection services)
{
	// Add RavenDB and identity.
	services
		.AddRavenDb(Configuration.GetConnectionString("RavenDbConnection")) // Create a RavenDB DocumentStore singleton.
		.AddRavenDbAsyncSession() // Create a RavenDB IAsyncDocumentSession for each request.
		.AddRavenDbIdentity<AppUser>(); // Use Raven for users and roles. AppUser is your class, a simple DTO to hold user data. See https://github.com/JudahGabriel/RavenDB.Identity/blob/master/Sample/Models/AppUser.cs

	...
}
  1. In your controller actions, call .SaveChanges when you're done making changes. Typically this is done via a RavenController base class.

  2. You're done!

Need help? See the sample app.

Not using .NET Core? See our sister project for a RavenDB Identity Provider for MVC 5+ and WebAPI 2+ on the full .NET Framework.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RavenDB.Identity:

Package Downloads
BeyondAuth.Identity.Core

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on RavenDB.Identity:

Repository Stars
RemiBou/Toss.Blazor
Experimental project using AspNetCore Blazor
Version Downloads Last updated
9.0.0 3,858 1/13/2024
8.0.9 15,318 7/6/2023
8.0.8 3,236 4/20/2023
8.0.7 33,686 5/5/2021
8.0.6 1,343 4/1/2021
8.0.5 2,804 12/17/2020
8.0.4 2,418 9/22/2020
8.0.3 1,187 9/2/2020
8.0.2 1,832 7/28/2020
8.0.1 1,045 7/26/2020
8.0.0 1,055 7/25/2020
7.0.1 4,086 12/19/2019
7.0.0 1,159 12/13/2019
6.2.0.2 2,315 12/3/2019
6.2.0.1 1,107 11/28/2019
6.2.0 1,202 11/13/2019
6.1.0 3,539 7/8/2019
6.0.6 1,214 6/26/2019
6.0.5 1,157 6/10/2019
6.0.3 1,933 4/5/2019
6.0.2 4,796 4/1/2019
6.0.1 1,185 3/21/2019
5.0.1 1,179 3/11/2019
5.0.0 1,310 3/4/2019
4.4.1 3,899 10/8/2018
4.3.0 3,334 2/24/2018
4.2.0 1,544 2/23/2018
4.1.1 1,459 2/22/2018
4.0.1 1,588 2/11/2018
4.0.0 1,618 2/9/2018
3.0.0 1,715 9/28/2017
2.1.0 1,619 9/6/2017
2.0.4 1,627 9/5/2017
2.0.3 1,592 9/5/2017
2.0.2 1,598 8/29/2017
2.0.1 1,598 8/29/2017
2.0.0 1,841 8/29/2017
1.0.3 1,953 8/23/2017
1.0.1 5,575 8/23/2017
1.0.0 5,290 8/23/2017

IdentityUser now conforms to EntityFramework's IdentityUser in order to ease migration. Added some XML documentation to IdentityUser.