When implementing your own storage provider, you must create a user class which is equivalent to the Identity User class in the Microsoft. The type of the Id property matches the value of the TKey parameter.
The Identity framework also provides the IUser interface (without the generic parameter) when you want to use a string value for the key.
The default project template in Visual Studio contains code that assumes many of the optional interfaces have been implemented in the user store.
If you are using the default template with a customized user store, you must either implement optional interfaces in your user store or alter the template code to no longer call methods in the interfaces you have not implemented.
This topic describes how to create a customized storage provider for ASP. It covers the important concepts for creating your own storage provider, but it is not step-by-step walkthrough of implementing a custom storage provider. Managers are high-level classes which an application developer uses to perform operations, such as creating a user, in the ASP. Stores are lower-level classes that specify how entities, such as users and roles, are persisted.
For an example of implementing a custom storage provider, see Implementing a Custom My SQL ASP. Stores are closely coupled with the persistence mechanism, but managers are decoupled from stores which means you can replace the persistence mechanism without disrupting the entire application.
This topic assumes you are familiar with the persistence mechanism that you are going to use and how to create entities for that mechanism.
NET Identity, and decide which features are relevant to your application. Might also include email address, phone number, whether two factor authentication is enabled, the current number of failed logins, and whether an account has been locked.
Again, you only need to implement the classes that you intend to use in your application.
In the data access classes, you provide code to perform data operations for your particular persistence mechanism.
Your technology and existing infrastructure may require a structure that is very different from the default implementation of ASP. In your data access layer, you provide the logic to work with the structure of your repositories.
For a My SQL implemention of data repositories for ASP. In the data access layer, you provide the logic to save the data from ASP. The data access layer for your customized storage provider might include the following classes to store user and role information.
Redundancy is control in DBMS, but not in file system.5.