Skip to content

Commit

Permalink
chore: update samples README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasiliy Solovey authored Mar 22, 2017
1 parent 0b0ed26 commit 76cff8c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions samples/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# ASP.NET Core Identity MongoDB Store Samples
# ASP.NET Core Identity DynamoDB Store Samples

This folder contains various samples to showcase how to use ASP.NET Core Identity with this MongoDB store provider.
There is not a huge difference to the standard use of ASP.NET Core Identity apart from hooking the MongoDB store provider.
This folder contains various samples to showcase how to use ASP.NET Core Identity with this DynamoDB store provider.
There is not a huge difference to the standard use of ASP.NET Core Identity apart from hooking the DynamoDB store provider.
So, it's always helpful to go through [the ASP.NET Core Identity documentation first](https://docs.asp.net/en/latest/security/authentication/identity.html) if you haven't already.

## Prerequisites

In order to run any of the sample here, you need MongoDB exposed through `127.0.0.1:27017`. If you have [Docker](https://www.docker.com/) on you box, you can easily have one by executing the below command:
In order to run any of the sample here, you need DynamoDB exposed through `127.0.0.1:8000`. If you have [Docker](https://www.docker.com/) on you box, you can easily have one by executing the below command:

```bash
docker run --name some-mongo -d -p "27017:27017" mongo
docker run -p 8000:8000 dwmkerr/dynamodb -sharedDb
```

You also need [.NET Core SDK](https://www.microsoft.com/net/core) installed to be able to execute `dotnet` commands.

## Samples

* [IdentitySample.Mvc](./IdentitySample.Mvc): This is [the exact sample in Identity repository](https://github.com/aspnet/Identity/tree/1.0.0/samples/IdentitySample.Mvc), but it works with this MongoDB provider rather than the EntityFramework one. See [4c5fd98](https://github.com/tugberkugurlu/AspNetCore.Identity.MongoDB/commit/4c5fd986e4b4b6b63b1ffd7dd543c3f7a36b1b84) commit for the things that needed changing.
* [IdentitySample.Mvc](./IdentitySample.Mvc): This is [the exact sample in Identity repository](https://github.com/aspnet/Identity/tree/1.0.0/samples/IdentitySample.Mvc), but it works with this DynamoDB provider rather than the EntityFramework one.

0 comments on commit 76cff8c

Please sign in to comment.