I want to customize IdentityUser
to add some attributes and change the key type to int
. I tried and followed this Microsoft documentation: https://learn.microsoft.com/de-de/aspnet/identity/overview/extensibility/change-primary-key-for-users-in-aspnet-identity
In the documentation, it says:
In IdentityModels.cs, change the ApplicationUser class to inherit from IdentityUser
However I don't find a IdentityModel.cs
in my project. That's why I don't think that this documentaion applies to my Razor-pages web app.
How do I go about changing the IdentityUser
key type to int
?