Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications

  • 9h 1m
  • Adam Freeman
  • Apress
  • 2021

Get the most from ASP.NET Core Identity. Best-selling author Adam Freeman teaches developers common authentication and user management scenarios and explains how they are implemented in applications. He covers each topic clearly and concisely, and the book is packed with the essential details you need to be effective.

The book takes a deep dive into the Identity framework and explains how the most important and useful features work in detail, creating custom implementations of key components to reveal the inner workings of ASP.NET Core Identity. ASP.NET Core Identity provides authentication and user management for ASP.NET Core applications. Identity is a complex framework in its own right, with support for a wide range of features, including authenticating users with services provided by Google, Facebook, and Twitter.

What You Will Learn

  • Gain a solid understanding of how Identity provides authentication and authorization for ASP.NET Core applications
  • Configure ASP.NET Core Identity for common application scenarios, including self-service registration, user management, and authentication with services provided by popular social media platforms
  • Create robust and reliable user management tools
  • Understand how Identity works in detail

Who This Book Is For

Developers with advanced knowledge of ASP.NET Core who are introducing Identity into their projects. Prior experience and knowledge of C#, ASP.NET Core is required, along with a basic understanding of authentication and authorization concepts.

About the Author

Adam Freeman is an experienced IT professional who has held senior positions in a range of companies, most recently serving as chief technology officer and chief operating officer of a global bank. Now retired, he spends his time writing and long-distance running.

In this Book

  • Getting Ready
  • Your First Identity Application
  • Creating the Example Project
  • Using the Identity UI Package
  • Configuring Identity
  • Adapting Identity UI
  • Using the Identity API
  • Signing in and Out and Managing Passwords
  • Creating, Deleting, and Locking Accounts
  • Using Roles and Claims
  • Two-Factor and External Authentication
  • Authenticating API Clients
  • Creating the Example Project
  • Working with ASP.NET Core
  • Authorizing Requests
  • Creating a User Store
  • Claims, Roles, and Confirmations
  • Signing in with Identity
  • Creating a Role Store
  • Lockouts and Two-Factor Sign-Ins
  • Authenticators and Recovery Codes
  • External Authentication, Part 1
  • External Authentication, Part 2


Rating 4.6 of 198 users Rating 4.6 of 198 users (198)
Rating 4.7 of 15 users Rating 4.7 of 15 users (15)