From f6d3142ea26fefbbb8d23ff30edbc62c1957d04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Mon, 3 Apr 2017 07:09:54 +0200 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e9d174ff..68593a1a 100644 --- a/README.md +++ b/README.md @@ -55,15 +55,13 @@ To use OpenIddict, you need to: ``` - - **Update your `project.json`** to reference `AspNet.Security.OAuth.Validation` and `OpenIddict`: - -```json -"dependencies": { - "AspNet.Security.OAuth.Validation": "1.0.0-*", - "OpenIddict": "1.0.0-*", - "OpenIddict.EntityFrameworkCore": "1.0.0-*", - "OpenIddict.Mvc": "1.0.0-*" -} + - **Update your `.csproj` file** to reference `AspNet.Security.OAuth.Validation` and the `OpenIddict` packages: + +```xml + + + + ``` - **Configure the OpenIddict services** in `Startup.ConfigureServices`: @@ -92,7 +90,7 @@ public void ConfigureServices(IServiceCollection services) // Register the OpenIddict services. // Note: use the generic overload if you need // to replace the default OpenIddict entities. - services.AddOpenIddict(options => + services.AddOpenIddict(options => { // Register the Entity Framework stores. options.AddEntityFrameworkCoreStores(); @@ -180,7 +178,7 @@ public void ConfigureServices(IServiceCollection services) // Register the OpenIddict services. // Note: use the generic overload if you need // to replace the default OpenIddict entities. - services.AddOpenIddict(options => + services.AddOpenIddict(options => { // Register the Entity Framework stores. options.AddEntityFrameworkCoreStores();