I want to create admin panel in Asp.net CORE MVC so please give me some idea.
Example:
when i register account then automatically create user role login or customer login.
i want to add field ROLE in another table like as Role_id.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sagar Pandurang KapPosted Feb 25, 2018, 10:52 PM
A few basic steps:
1. Separate admin section in a folder and keep all the files used in admin section.
2. Maintain user role in database table.
3. Check user role while user logs in. If user matches admin role,redirect on admin section.