Login Flow .Net MAUI by Abhay Prince

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024
  • How to create/implement Login Flow in .Net MAUI
    Login page will not show any tabs or flyout menus
    Get Free Source Code itechoverflow.c...
    If you like my work and want to support me, buy me a coffee www.buymeacoff...
    Checkout my other .Net MAUI videos
    Animated Accordion in .Net MAUI - • Animated Accordion in ...
    Device Orientation in .Net MAUI - • Device Orientation .Ne...
    Data Template Selector in .Net MAUI - • Data Template Selector...
    TH-cam Main Page UI using .Net MAUI - • Build TH-cam UI using...
    Custom Flyout Menu Left Navigation - • Custom Flyout Menu in ...
    Animated Floating Action Button Menu .Net MAUI - • Animated FAB - Floatin...
    Realtime Chat App using Blazor WASM and SignalR - • Realtime Chat App Blaz...
    BMI Calculator App using .NET MAUI - • BMI Calculator .Net MAUI
    #netmaui #dotnet #dotnetmaui #maui #netmauihowto #dotnetmauicourse #dotnetmauitutorial #mauitutorial #dotnetmauiproject #blazor #netmauiblazor #blazorhybrid #mauiblazor #dotnetmauiblazor #blazorhowto #abhayprince
    If you like my work and want to support me, buy me a coffee www.buymeacoff...

ความคิดเห็น • 56

  • @theuberwarrior195
    @theuberwarrior195 7 หลายเดือนก่อน +2

    Gorgeous explanation. Helped me to understand app flow and DI in MAUI. Thx buddy! Working on .NET 8 MAUI

  • @DiederickvanZyl-u3o
    @DiederickvanZyl-u3o 15 วันที่ผ่านมา

    I really like your video , it was very well explained and the image quality was great , keep up the good work and hopefully one day there will be a video on apis for this type of login flow ?

  • @ashwansaini
    @ashwansaini หลายเดือนก่อน

    Very well explained. I am having problems with menus will try this way to see if it works properly.

  • @oscar_urp
    @oscar_urp 2 หลายเดือนก่อน

    Amazing, works in .Net 8.0, greatings from Mexico

  • @anasmuhammed8898
    @anasmuhammed8898 11 หลายเดือนก่อน

    Thank you for the excellent presentation. explained in a simple way so very easy to understand the concept.

  • @deanbergey3594
    @deanbergey3594 ปีที่แล้ว +1

    Thanks a lot mate, very helpful, good explanations, would be great to have a sign in video tuto as well as default for login.

  • @alvpjh
    @alvpjh ปีที่แล้ว

    It is working perfectly. Your code is clear, powerful and elegant, thank you very much

  • @faraichakarisa
    @faraichakarisa 4 หลายเดือนก่อน

    Thank you, good sir. Perfecly explained.

  • @SayyadHasan
    @SayyadHasan 10 หลายเดือนก่อน

    Awesome, Explanation is very simple and very smart way, thanks

  • @lucai932
    @lucai932 7 หลายเดือนก่อน

    thanks man you saved me from a headache

    • @abhayprince
      @abhayprince  7 หลายเดือนก่อน

      No problem

  • @Elmigo94
    @Elmigo94 ปีที่แล้ว

    Thank you for this very clear explanation. It is very easy to understand and works perfect!

  • @gustavgoosen5536
    @gustavgoosen5536 2 หลายเดือนก่อน

    Thx, works like a charm !

  • @Mr-AmmarH
    @Mr-AmmarH หลายเดือนก่อน

    Gorgeous explanation, But i need use Mainpage = appshell after login and login not in appshell How can it,if you need to access to my project tell me to give you uri, I applied what you said in the video but it didn't work for me

  • @skrafii
    @skrafii ปีที่แล้ว +2

    hello i love your videos because they are really helpful

    • @abhayprince
      @abhayprince  ปีที่แล้ว +1

      Prefixing the shell route with // (double slash) when navigating, should remove the Return button. If this new page is not added in AppShell.xaml, then you need to register this page route in AppShell.xaml.cs using
      Routing.RegisterRoute(...) method.
      If you still have query let me know, I will try my best to answer it. It would be great if you could share this github code link so that I can take a look at the code and then assist you.
      Happy coding
      All the best,

  • @josuemercally
    @josuemercally 9 หลายเดือนก่อน +1

    I have problems with DI, I have several services Injected, but when I navigate from Login (ShellContent) to Main page (Tab) the transient services do not recreate them... seems like they are singleton through the Tab page any idea? how can I refresh the DI on that scene

    • @abhayprince
      @abhayprince  9 หลายเดือนก่อน +1

      I have not worked with Tabbed pages. I saw sometimes pages doesnt get disposed and use the same instance if we revisit the pages. But you are saying you are going for the first time, it should create the new instance.
      1. You maybe missing something (I can have a look if you can share github repo or something)
      2. If you really want to use new instance of the service every time, you can try registering a factory delegate, and invoke it whenever required.
      builder.Services.AddSingleton(sp => () => new Service1()):
      then inject this delegate
      public MainPage(Func service1Factory)
      and use it like,
      var service1 = _service1Factory.Invoke();

  • @gabrielbuzatuvip
    @gabrielbuzatuvip ปีที่แล้ว

    You deserve a like for your video, thank you!

  • @haroldpepete
    @haroldpepete ปีที่แล้ว +2

    you have some concepts about shell navigation wrong, if you declare your routes and components in shell.xaml file, you don't need register again in code behind file, you only register in code behind those routes who have not been declare in xaml file, to make this routes reachable for the application to navigate manually fron any side of app

    • @abhayprince
      @abhayprince  11 หลายเดือนก่อน

      Yes, you are right. If the page/route is added in AppShell.Xaml, then no need to explicitly register in in code behind. Its been a long time since I created this video, I dont remember what I have done in this video. I need to revisit.
      Thanks for pointing out

    • @haroldpepete
      @haroldpepete 11 หลายเดือนก่อน

      @@abhayprince don't worry, the video was great, all content is helpful

    • @tirupathiraomandali9234
      @tirupathiraomandali9234 5 วันที่ผ่านมา

      @@haroldpepete

  • @Sevenstars-g2i
    @Sevenstars-g2i ปีที่แล้ว

    Thank you so much! This is awesome!

  • @RoccoDylon69
    @RoccoDylon69 ปีที่แล้ว

    Thanks buddy, it helped a lot !

  • @montassarmeddeb6979
    @montassarmeddeb6979 ปีที่แล้ว

    Thank you so much Sir great tuto like usual can you make how we use sqlLite in the login flow

  • @hungchip
    @hungchip 7 หลายเดือนก่อน

    Hi master, is there a way easy Create Label Click show Field Password in MAUI with MVVM?

    • @abhayprince
      @abhayprince  7 หลายเดือนก่อน +1

      Yes, you can just have an observable property of type bool and bind that to the Entry's IsPassword property.

  • @kirwakelvinkering3122
    @kirwakelvinkering3122 ปีที่แล้ว

    This is cool ,however ,us there a way we can remove the top bar in the login page ? And what if befire login we need the onboarding page ?

    • @abhayprince
      @abhayprince  ปีที่แล้ว

      You could apply the concepts shown in this video.
      1. Removing Topbar from Login - You can set Shell.NavbarIsVisible to False on LoginPage.Xaml or on the ShellContent for LoginPage im AppShell.Xaml
      2. Onboarding Page - You can add the OnboardingPage as the first ShellContent in the AppShell.Xaml page
      I have a video for Onboarding UI th-cam.com/video/Hh5jCJpuRSI/w-d-xo.html here is the link if you wanna check out

  • @jaimestuardo4655
    @jaimestuardo4655 7 หลายเดือนก่อน

    Hello.... this worked when target is .NET 7. I have changed to .NET 8 and even when the GotoAsync inside OnNavigatedTo is called, the other page is not actually shown. What is it going on?

    • @abhayprince
      @abhayprince  7 หลายเดือนก่อน

      Cant say without looking at the code,
      Do you have some github repo, I can check

    • @jaimestuardo4655
      @jaimestuardo4655 7 หลายเดือนก่อน

      @@abhayprince I have given you a Github 3 times but always my reply is removed. I don't know why.

    • @abhayprince
      @abhayprince  7 หลายเดือนก่อน

      I dont know about, I didnot get any notification. Lets try discord, send me link there

    • @jaimestuardo4655
      @jaimestuardo4655 7 หลายเดือนก่อน

      @@abhayprince How to do that in discord?

    • @jaimestuardo4655
      @jaimestuardo4655 7 หลายเดือนก่อน

      @@abhayprince Is there another way to send you the link?

  • @ruvimbokanengoni3866
    @ruvimbokanengoni3866 ปีที่แล้ว

    Great video, I just have a question as to how to keep the user logged in after the app closes when using an actual authentication service, because when I attempted this with Firebase my user gets logged out every time the app closes, your help would be greatly appreciated.

    • @abhayprince
      @abhayprince  ปีที่แล้ว +1

      Video for this is coming soon. For this you could store the auth state with token in device storage (preferences or secure storage). and on app open, check if you have the auth state in storage

  • @TitoDino-f9s
    @TitoDino-f9s ปีที่แล้ว

    Can we get the dedicated video to shell routing?

    • @abhayprince
      @abhayprince  ปีที่แล้ว

      Yes, this is in my list, will upload video soon

  • @hungchip
    @hungchip 8 หลายเดือนก่อน

    hi Master, can you make a video tutorial MAUI Floating Windows Android?

    • @abhayprince
      @abhayprince  8 หลายเดือนก่อน

      I have not tried it yet, I need to check. Cant say anything without trying to make it first.

  • @hungchip
    @hungchip 7 หลายเดือนก่อน

    Hi master, can you make a video tutorial Show Popup Page MAUI + MVVM + Toolkit.MAUI ?
    It's very Difficult with newbie!

  • @GaryCuriano
    @GaryCuriano ปีที่แล้ว

    thanks for the effort. thanks in advance..

  • @netrixtechie
    @netrixtechie ปีที่แล้ว

    Thankyou Prince

  • @computerscience5
    @computerscience5 ปีที่แล้ว

    Good sir

  • @computerscience5
    @computerscience5 ปีที่แล้ว +2

    We want project app shopping cart with maui xaml
    With carts and Auth and carts and .....
    Plz
    With api
    Plz sir

    • @abhayprince
      @abhayprince  ปีที่แล้ว +1

      Will plan a video very soon

    • @computerscience5
      @computerscience5 ปีที่แล้ว

      @@abhayprince Please
      We need This PlayList from A (Login and Register ) toooooo Publish with maui
      Plz Sir😘😘😘😘

    • @computerscience5
      @computerscience5 ปีที่แล้ว +1

      @@abhayprince
      When is the time, sir?
      please😘😘😘
      We want to start very soon tomorrow or the day after tomorrow this week
      Please sir😘😘😘

    • @computerscience5
      @computerscience5 ปีที่แล้ว +1

      ​@abhayprince
      Plz Sir when u start Playlist project e.commerce in maui ???

  • @computerscience5
    @computerscience5 ปีที่แล้ว

    Sir
    We want project app shopping cart with maui xaml
    With carts and Auth and carts and .....
    Plz
    With api
    Plz sir

  • @sbjakhotya
    @sbjakhotya 6 หลายเดือนก่อน

    Extremely Weird Procedure