User Authentication in ASP.NET MVC | Login and Sign up Page

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • asp.net mvc User authentication on login and signup pages step by step tutorial
    register, sign in, signup, login pages in asp.net mvc 5 tutorial
    More ASP.NET MVC Tutorials:
    • ASP.NET MVC Tutorials
    Software Used in This Tutorial:
    -Visual Studios 2019 Community Edition
    Project Description:
    -Based on ASP.NET Web Application (.NET Framework) : MVC Template

Комментарии • 24

  • @WithLove_Sinaye
    @WithLove_Sinaye 3 месяца назад

    HI sir this is a great tutorial🙂 but i came across some issues. firstly in the Account controllers during 9:49 i got some errors for email and password. i also came across issues on the layout page at16:00 i got errors when writing the if statement

  • @asifansariofficial656
    @asifansariofficial656 3 года назад +1

    Good working 👍👍

  • @bawagrafix
    @bawagrafix Год назад

    great job in very short manner

  • @aymenkhalid7071
    @aymenkhalid7071 Год назад

    Best video for beginners. It helped a lot

  • @zubeirayaanle6417
    @zubeirayaanle6417 Год назад

    it helps man thanks

    • @HassaanRaza
      @HassaanRaza  Год назад

      Happy to help :)

    • @zubeirayaanle6417
      @zubeirayaanle6417 Год назад +1

      @@HassaanRaza can you please make how to design your pages in bootstrap please

    • @HassaanRaza
      @HassaanRaza  Год назад

      @@zubeirayaanle6417 i have used the pages created by asp in this video, i haven't used bootstap.

    • @zubeirayaanle6417
      @zubeirayaanle6417 Год назад

      @@HassaanRaza not the login but the other pages

  • @hkhk5304
    @hkhk5304 2 года назад +1

    Why can i still access in login page after I successfully logged in? I type Account/Login in the url while im currently login and it actually takes me to the login page 🤣.. It supposed to take me back to index page since Im already logged in. What do you think is the problem here? Btw thanks for making this video it helps a lot.

  • @jakubdabrowski3846
    @jakubdabrowski3846 Год назад

    Thank you, that was just what I needed. One question: is there a way to implement auto logout when I close the browser?

    • @kab5791
      @kab5791 Год назад

      Create a heartbeat function that pings your server every 10-15 mins. If the server doesn’t receive a request from the front end the server then runs the sign out function.

  • @aplikasikependudukanbipabi6308

    very veryyyy nice

  • @bawagrafix
    @bawagrafix Год назад

    your tutorial was awesome, but I used vb code instead of C#, in spite of that I managed to build my authentication process successfully. Thanks

  • @maianhloc3659
    @maianhloc3659 2 года назад

    thanks a lot. you helped me very much

  • @chandragirianjali1574
    @chandragirianjali1574 2 года назад +1

    I am facing a problem while sign out its doesn't go back to login page

  • @ttnsmrnv4137
    @ttnsmrnv4137 2 года назад

    Thanks a lot !

  • @amga-s4477
    @amga-s4477 2 года назад

    gracias mi has ayudado

  • @flash66976
    @flash66976 Год назад +1

    for some reason my
    entity.SaveChanges(); and
    UsersTbl u = entity.UsersTbls.FirstOrDefault(x => x.UserName == credentials.UserName && x.Password == credentials.Password);
    are giving me errors.

  • @Joe-SoftwareEngineer
    @Joe-SoftwareEngineer 2 года назад +1

    This doesn't seem to be working for ASP.NET 6. I cannot find System.Web.FormsAuthentication.

    • @HassaanRaza
      @HassaanRaza  2 года назад +2

      dude there is No Such thing as ASP.NET MVC 6.
      After ASP 5,
      .net framework ended.
      Asp.net core mvc was the next release.
      if you are talking about it, this video is not for .net core.

    • @Joe-SoftwareEngineer
      @Joe-SoftwareEngineer 2 года назад +1

      @@HassaanRaza Yeah I was talking about core. Thanks for your response!