ASP.NET Core Identity
ASP.NET Core Identity is an extensible ASP.NET Core membership system for managing user accounts, credentials, claims, roles, authentication, and related identity data.
ASP.NET Core in Action, 3e
ASP.NET Core Identity is an ASP.NET Core membership system that provides user accounts, authentication, authorization integration, and related identity-management services.
- How it is used
- Adds account registration and sign-in to Razor Pages applications using Identity's services and default UI.
- How deep it goes
- Works through sign-in mechanics, template setup, existing-app integration, and customization while deferring authorization and detailed API treatment.
- Examples
- Uses an individual-accounts template, a recipe application, and a registration form that saves a FullName claim.
- What you can do after
- Apply ASP.NET Core Identity to create accounts, configure sign-in services, update the database, and customize registration.
Read how ASP.NET Core in Action, 3e explains ASP.NET Core Identity →
Building Web APIs with ASP.NET Core
ASP.NET Core Identity is an ASP.NET Core framework subsystem that provides abstractions and components for managing user accounts, authentication, and related identity data.
- How it is used
- Supplies user-account management for securing data-changing endpoints in a board-game API.
- How deep it goes
- Walks through packages, entities, migrations, and service configuration, but defers an exhaustive account of IdentityUser properties.
- Examples
- Uses a board-game API, an IdentityUser-derived entity, database migrations, and Program.cs service configuration.
- What you can do after
- Build it from scratch: configure Identity-backed accounts and JWT bearer authentication as the foundation for protected API endpoints.
Read how Building Web APIs with ASP.NET Core explains ASP.NET Core Identity →
Pro ASP.NET Core 7, Tenth Edition
ASP.NET Core Identity is an extensible membership system for managing users, credentials, claims, roles, and related authentication functionality in ASP.NET Core applications.
- How it is used
- Secures restricted application features by managing users and integrating authentication and authorization into the request pipeline.
- How deep it goes
- Works through database setup, account and role management, sign-in, and authorization; leaves Identity’s wider integration options unexplored.
- Examples
- Uses a protected administration area, an Identity database context, account-management tools, and an authenticated-user details page.
- What you can do after
- Build it from scratch: configure database-backed Identity, manage accounts and roles, authenticate users, and restrict access.
Read how Pro ASP.NET Core 7, Tenth Edition explains ASP.NET Core Identity →
.NET in Action, Second Edition
ASP.NET Core Identity is an extensible membership system for managing users, authentication, authorization, and related identity data in ASP.NET Core applications.
- How it is used
- Protects ASP.NET Core APIs by authenticating requests and authorizing access to endpoints.
- How deep it goes
- Shows JWT bearer registration, middleware ordering, and controller protection, while deferring broader Identity account management.
- Examples
- Uses JWT bearer configuration and an Authorize-protected CatalogController.
- What you can do after
- Operate/configure ASP.NET Core Identity to authenticate JWT requests and protect API controllers.
Read how .NET in Action, Second Edition explains ASP.NET Core Identity →
What to know first
- accountAn account is a record associated with a person, organization, or other entity that represents an identity or relationship, or tracks financial holdings and activity.
- authenticationAuthentication is the process of verifying the claimed identity of a user, service, device, or other entity.
- middlewareMiddleware is software that mediates communication or processing between components, often by intercepting, transforming, or coordinating operations in a pipeline.
- roleA role is a defined function or status assigned to a participant that specifies responsibilities, permissions, behavior, or perspective within a system or organization.
Related concepts
- service containeruses · A service container is a registry and runtime that stores service definitions, creates or reuses service instances, and manages their lifetimes.
- Entity Framework Coreuses · Entity Framework Core is a cross-platform object-relational mapper for .NET that enables applications to work with databases through .NET objects and queries.
- authenticationuses · Authentication is the process of verifying the claimed identity of a user, service, device, or other entity.
- NuGetuses · NuGet is the package manager and distribution ecosystem for discovering, publishing, retrieving, and consuming reusable .NET software packages.
- roleuses · A role is a defined function or status assigned to a participant that specifies responsibilities, permissions, behavior, or perspective within a system or organization.
Questions about ASP.NET Core Identity
What is ASP.NET Core Identity?
ASP.NET Core Identity is an extensible ASP.NET Core membership system for managing user accounts, credentials, claims, roles, authentication, and related identity data.
Which Manning books explain ASP.NET Core Identity?
ASP.NET Core in Action, 3e, Building Web APIs with ASP.NET Core, Pro ASP.NET Core 7, Tenth Edition and .NET in Action, Second Edition.
What should I know before learning ASP.NET Core Identity?
Manning books that teach ASP.NET Core Identity usually introduce account, authentication, middleware and role first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



