| by Kenneth Chase | 16 comments

ASP.NET MVC #4 : Custom properties for IdentityUser | FoxLearn

Welcome to the FoxLearn Today we will learn how to Custom Fields for Identity User Now, we will add FullName and Gender properties to Identity User class, then add migrations to your database Run enable migrations command to update FullName and Gender properties to your database You can set length of FullName If you get an error when updating your database. You can edit directly database in SQL Server You need to add FullName and Gender properties to Register Action in Account controller You need to add FullName and Gender properties to RegisterViewModel Now, We will open Register View, then add FullName and Gender properties Thank you for watching this video



Feb 2, 2017, 8:13 pm Reply

big thanks for this ??


Feb 2, 2017, 5:57 am Reply

thanks fox learn

Chuck T

Feb 2, 2017, 6:50 am Reply

everyday to wake up to a new video nothing is awesome than that thank you #foxlearn

Mustafa Tuncer EŞME

Feb 2, 2017, 5:31 pm Reply

Great, thanks 🙂


Feb 2, 2017, 7:06 pm Reply

big thanks.. what about web application


Feb 2, 2017, 6:35 am Reply

can you make EF Code First with ASP.NET MVC please?

Trần Trọng Thiện

Mar 3, 2017, 8:24 am Reply

Very usefull, thank so much.
Can you explain for me how to it add value to 'id' where register account, please?
May be use 'guid' to auto add value, but i can't see this code!
Show me, please!

Fox Learn

Mar 3, 2017, 8:23 am Reply

▶ CLICK TO SUBSCRIBE MY CHANNEL: https://goo.gl/zlx04a .For more videos

Emircan Aziz Hazır

Mar 3, 2017, 5:26 pm Reply

Why you didnt create 2 option for Gender like enum man,woman? And use them in DropDownlistFor! The series cool but going to basic! thx

Дмитро Нор

Aug 8, 2017, 1:51 pm Reply

Receive thanks from the beginning developer of the Ukrainian Велике тобі дякую за ці чудові знання ))

Shailendra Phadke

Sep 9, 2017, 9:04 am Reply

When I enter "enable-migrations" it says " Common Language Runtime detected an invalid program." How to resolve this?


Nov 11, 2017, 10:00 pm Reply

very nice very thanks for this 🙂

Tien Tran

Dec 12, 2017, 4:02 pm Reply

Those tutorial are nice and helpful. Thank you so much!

Atul d

Jul 7, 2018, 3:02 pm Reply

The video was amazing and thanks a lot. Big thanks for all the effort.


Jun 6, 2019, 10:51 pm Reply

big thanks from turkey (: you are good people


Aug 8, 2019, 11:40 pm Reply

How to access these new fields from the views? Example: I've added Full Name field and i want to display the current users's name on the index page

Leave a Reply