Identity
Read 2 posts from Identity
Posts
Get logged in user name in Core 3.0
To get current logged in user from Identity 2 in .net core 3.0 and 3.1, use the following code. Happy Coding 🙂
ASP.Net Core Seed User and Role
Data seeding for Identity user tables are different. Here is an example code how to seed data without extending the Identity User table. First step to create a class in Data folder Name it “ApplicationDbInitializer.cs”, following code will be in this class. Second step, call above class from Startup.cs file Configure method. Add this line…