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();