© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. FreemanPro ASP.NET Core Identity https://doi.org/10.1007/978-1-4842-6858-2_16

16. Creating a User Store

Adam Freeman1  
(1)
London, UK
 

In this chapter, I add Identity to the example project and create a custom user store. In Part 1, I used the default user store that Microsoft provides, which uses Entity Framework Core to store user data in a relational database, and this is the store you should use in real projects.

The user store I create in this chapter stores its data in memory, which makes it easy to explain how user stores work without getting bogged down in how to serialize and persist the data. Table 16-1 puts the user store in context.
Table 16-1. ...

Get Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.