Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Creating Register and Login system in MVC Core project

Creating Register and Login system in MVC Core project

Scheduled Pinned Locked Moved ASP.NET
asp-netdatabasequestioncsharpjavascript
1 Posts 1 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Dunlop
    wrote on last edited by
    #1

    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)?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups