5 Comments on “How to create Login Page using Asp.net Core MVC C# With Database”

  1. Hi. I’m new to this. Please tell me how I can create a DBcontext class? Where do I create a repository folder and interface? And how do I configure the Startup Class?

  2. Hi. I’m new here. Can I ask how and where do I create the DBcontext class? How and where to create the repository and interface? and where do I configure Startup Class?

    1. You can create dbcontect class in model folder. And you can create create a new folder in your current project by right click on your project and add new folder option.You can rename that new folder as Repository. Then you can add ILogin class and AuthenticateLogin class in that folder.

  3. When Creating ILogin.cs class i always get an error on Getuser() and also on AuthenticateUser Any Suggestions on a solution.

Leave a Reply

Your email address will not be published. Required fields are marked *