2017-08-23 14:54:04 -05:00
2017-08-23 14:54:04 -05:00
2017-08-21 10:06:27 -05:00
2017-08-23 13:47:22 -05:00
2017-08-23 14:54:04 -05:00
2017-08-23 13:50:08 -05:00

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.Web.NetCore/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.

S
Description
RavenDB Identity provider for ASP.NET Core. Let RavenDB manage your users and logins.
Readme 1.3 MiB
Languages
C# 100%