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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.