URL updates to readme.

This commit is contained in:
JudahGabriel
2017-08-23 13:48:14 -05:00
parent 0e67e9881f
commit 5247b14cb6
+6 -5
View File
@@ -1,5 +1,6 @@
# ![RavenDB logo](https://github.com/JudahGabriel/RavenDB.AspNet.Identity/blob/master/RavenDB.AspNet.Identity/nuget-icon.png?raw=true) RavenDB.AspNetCore.Identity #
An ASP.NET Core Identity provider for RavenDB
# ![RavenDB logo](https://github.com/JudahGabriel/RavenDB.Identity/blob/master/RavenDB.Identity/nuget-icon.png?raw=true) RavenDB.Identity #
RavenDB identity provider for ASP.NET Core. T
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:
@@ -11,14 +12,14 @@ public void ConfigureServices(IServiceCollection services)
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 a simple DTO to hold our user data. See https://github.com/JudahGabriel/RavenDB.AspNet.Identity/blob/master/Sample.Web.NetCore/Models/AppUser.cs
.AddRavenDbIdentity<AppUser>(); // Use Raven for users and roles. AppUser is a simple DTO to hold our user data. See https://github.com/JudahGabriel/RavenDB.Identity/blob/master/Sample.Web.NetCore/Models/AppUser.cs
...
}
```
2. In your controller actions, call .SaveChanges when you're done making changes. Typically this is done via a [RavenController base class](https://github.com/JudahGabriel/RavenDB.AspNet.Identity/blob/master/Sample.Web.NetCore/Controllers/RavenController.cs).
2. In your controller actions, call .SaveChanges when you're done making changes. Typically this is done via a [RavenController base class](https://github.com/JudahGabriel/RavenDB.Identity/blob/master/Sample.Web.NetCore/Controllers/RavenController.cs).
3. You're done!
Need help? See the [sample app](https://github.com/JudahGabriel/RavenDB.AspNet.Identity/tree/master/Sample.Web.NetCore)
Need help? See the [sample app](https://github.com/JudahGabriel/RavenDB.Identity/tree/master/Sample.Web.NetCore)