Creating Register and Login system in MVC Core project
-
Hi, I have made my model and created all necessary migrations using EntityFramework and finally, created sql server database (Code First). You can see my database diagram corresponding to my model: Capture — ImgBB[^] As you see, I have defined all necessary columns for User. My register system needs username, password, department, isAdmin, IsActive, canEdit, canDelete, canSendMessage, canSeeNotificaion which are provided through text fields and checkboxes. I have designed my own Login/Register page previously (using HTML, CSS, Js). I created a _LoginLayout in my ASP.NET Core project. Now, I need to create database connection and all necessary codes for this system. How can I do that? Do I need to use Identity scaffolding and create new DbContext (While I have defined my User class and created the related tables in database)?