Dotnet MAUI Simple Login Logout with User Already logged Feature

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 19

  • @S3Kglitches
    @S3Kglitches Рік тому +2

    Why did not Preferences.Clear("keyName") work? is it a bug?

    • @xamaringuy1951
      @xamaringuy1951  Рік тому +2

      Yeah there’s a bug in dotnet maui when clearing specific key. Where as secure storage won’t work in some of the android device.
      I will pin this issue in our comment and will be updating people when I find any solutions.

    • @gurur5481
      @gurur5481 8 місяців тому +1

      You need to use Preferences.Remove("key");

  • @HamdiFa
    @HamdiFa Рік тому +1

    Whenever i logout the username and password is still being displayed how can i autoclear the entries everytime i come to the page?

    • @xamaringuy1951
      @xamaringuy1951  Рік тому

      Quite easy make a MVVM binding and bind it with empty string

  • @S3Kglitches
    @S3Kglitches Рік тому

    How do you suggest storing globally the current logged in user info in the application (e.g. user class with name, list of rights, etc.)?

    • @xamaringuy1951
      @xamaringuy1951  Рік тому

      I gonna save user information serialization then saving it in Preferences this Preference.Clear(key) is the problem hope it gets resolved soon

  • @Elmigo94
    @Elmigo94 Рік тому

    Thank you for this useful video!

  • @afgone123456
    @afgone123456 Рік тому +1

    Can you tell us the spec of your macbook

    • @xamaringuy1951
      @xamaringuy1951  Рік тому +1

      Mac book pro m1 16 inch 😌

    • @afgone123456
      @afgone123456 Рік тому

      @@xamaringuy1951 I am thinking to buy this version bro. Are you happy with it? do you do any other programming apart from maui?

  • @rizvan5524
    @rizvan5524 Рік тому +2

    Please make video on Responsive sizing (Fonts, Image) based on screen size..

  • @FuzzyDPozzy
    @FuzzyDPozzy Рік тому

    thanks for the tutorial it works as it should be. ;)

  • @ahmadfairuzzakiwidyatna8172

    just ask, can .NET MAUI connect to MySQL with xampp?

  • @RajK09
    @RajK09 Рік тому

    Thanks for the tutorial, it's useful :) I got stuck in navigating to home page/dashboard page when user saves his/her credentials. Got an idea how to implement that. Thank you

  • @LiKEdesignz
    @LiKEdesignz Рік тому +1

    Do you have a fiverr?

  • @tripple.bunny10
    @tripple.bunny10 Рік тому

    thank you teacher