liveBook · Manning

UserManager<T>

UserManager<T> is an ASP.NET Core Identity service for managing users of type T, including their credentials, data, roles, and related operations.

How 3 Manning books explain it

Building Web APIs with ASP.NET Core

UserManager is an ASP.NET Core Identity service API that manages users and user-related operations, including role associations.

How it is used
Manages users during registration, login, and role-assignment operations in ASP.NET Core API controllers.
How deep it goes
Explains dependency injection and concrete asynchronous calls, but defers UserManager internals and Identity storage implementation.
Examples
Uses registration and login endpoints plus repeatable seeding of Moderator and Administrator roles.
What you can do after
Operate UserManager through dependency-injected controller code to create users, authenticate credentials, and assign roles.

Read how Building Web APIs with ASP.NET Core explains UserManager<T> →

ASP.NET Core in Action, 3e

UserManager<T> is an ASP.NET Core Identity service for creating, retrieving, updating, and managing users and their associated credentials and data.

How it is used
Manages Identity user accounts, credentials, database retrieval, password changes, and claims during registration and application workflows.
How deep it goes
Explains account creation and claim assignment with a simplified handler, while deferring complete UI, validation, and production boilerplate.
Examples
Uses ApplicationUser registration, a FullName claim, email confirmation, and Razor expressions that retrieve the claim value.
What you can do after
Apply it via ASP.NET Core Identity to create users, attach claims, generate confirmation tokens, and read claims after sign-in.

Read how ASP.NET Core in Action, 3e explains UserManager<T> →

Pro ASP.NET Core 7, Tenth Edition

UserManager<T> is the ASP.NET Core Identity service class for creating, retrieving, updating, and deleting users of type T and managing related user operations.

How it is used
Manages Identity users from administration pages and startup database-seeding code.
How deep it goes
Defines the generic service and core members with working Razor Page and seeding examples, without descending into implementation internals.
Examples
Uses a user-listing Razor Page, edit and delete links, and startup seeding for an Admin account.
What you can do after
Apply it via dependency injection to enumerate, create, update, delete, and seed Identity user accounts.

Read how Pro ASP.NET Core 7, Tenth Edition explains UserManager<T> →

Related concepts

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.