Asp.net 身份 - 扩展的最佳方式

Asp.net Identity - Best way to Extend

我想将新的 Asp.net Identity 3.0 与 EF 7 一起使用,并且想知道扩展它的最佳方法。例如,如果我想添加像 User's

这样的东西

执行此操作的最佳和正确方法是什么?我看到其他人发布了您向 IdentityUser 添加属性,我看到其他人说您应该使用 Claims。

感谢任何帮助

执行此操作的基本方法仍然是创建您自己的用户对象并使用您的属性对其进行扩展:

public class ApplicationUser : IdentityUser
{
    public string FirstName { get; set;}
    public string LastName { get; set;}
    ...
}