Can I edit customize the Identity AspNetUsers table?

2

I have a project that has a USUARIOS table. And now we are migrating to AspNet.Identity which already has a table but called AspNetUser and with its own fields. And my USUARIOS table has relationships with People and other tables in my context.

I even thought about keeping the 2 tables and at the time of registering a new user, or updating the user, change them in 2. But keeping 2 tables with duplicate data does not seem correct.

Then how to customize AspNetUser so that it has the name, fields, and relationships I need? Since I started the project without authentication and added Entity from Nuget. Another data is that I'm using CodeFirst in the general Context of the application. And in the image below is my existing USER table, which can not be modified. I think AspNetUserRules could turn out to be the PROFILE too, right?

    
asked by anonymous 14.11.2017 / 12:12

1 answer

1

MVP Eduardo Pires has two articles addressing just that, I advise you to take a look there, they are great content.

Complete identity tutorial

Customizing the user table

    
14.11.2017 / 14:48