Creating the identity service project

The identity service is an ASP.NET Core web API project. To use OpenIddict libraries, we have to add an aspnet-contrib reference to our Visual Studio package sources dialog. To add this source from Visual Studio, click on the NuGet Package Manager by right-clicking on the project and then hitting the settings button, as shown in the following screenshot:

Then add the entry of aspnet-contrib with the source as https://www.myget.org/F/aspnet-contrib/api/v3/index.json:

Once this is added, we can now easily ...

Get C# 7 and .NET: Designing Modern Cross-platform Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.