How to make EF-Core use a Guid instead of String for its ID/Primary key
When I look at the ASP.NET 3 Identity it uses a string and not a Guid for the unique primary key. In my Entity Framework code first Users' ApplicationUser class I inherit the Identity class public class ApplicationUser : IdentityUser { } which results in when I create my Entity Framework migrations a table aspnetusers getting created with a key type of nvarchar(450) instead of uniqueidentifier When I compare this to ASP.NET Identity 2 ENtity Framework project it created an ID field of uniqueidentifier and not nvarchar(450) I would imagine for database performance primary keys and foreign keys