liveBook · Manning

Identity database schema

As explained in ASP.NET Core in Action, 3e

The Identity database schema is the set of database structures used to persist ASP.NET Core Identity users and related authentication data.

The Identity database schema stores the data required by ASP.NET Core Identity. In a templated application, the Data folder contains ApplicationDbContext and migrations that configure this schema. section 23.3.2

Entity Framework Core connects Identity to the configured database. ApplicationDbContext is registered with a connection string, and Identity uses that context through AddEntityFrameworkStores. section 23.3.2

How ASP.NET Core in Action, 3e covers it

How deep it goes
Identifies ApplicationDbContext and migrations, but defers the schema’s detailed contents to later treatment.
Examples
Shows a Data folder containing ApplicationDbContext and migrations in the individual-authentication project template.
What it assumes
Assumes familiarity with an ASP.NET Core project template and introduces the generated Identity persistence files.
What you can do after
Configure Identity persistence by registering ApplicationDbContext and adding Entity Framework stores.
How it connects
Links ASP.NET Core Identity with Entity Framework Core, ApplicationDbContext, migrations, and SQL Server configuration.

This explainer was generated by Manning's knowledge graph from the text of ASP.NET Core in Action, 3e. The section links point to the parts of the book it draws on.