In order to set up and configure the
AspNetCore.Identity framework, we need to install the required NuGet package and perform a number of code changes in some of our project's entity classes.
The first thing we're going to do is to check for the existence of the
Microsoft.AspNetCore.Identity.EntityFrameworkCorelibrary package, which we should have already added in Chapter 4, The Data Model. If we missed it, we can fix the issue in a number of ways.
If we like to use the Package Manager Console, we can select the appropriate tab and write the following command:
> Install-Package Microsoft.AspNetCore.Identity.EntityFrameworkCore
If we prefer the Package Manager GUI interface, right-click in Solution ...